[sword-devel] SWORD Module Search / Also searching footnote content?
Troy A. Griffitts
scribe at crosswire.org
Sat Dec 17 05:23:40 EST 2022
Hi Tobias. Sure. If you turn off the Footnotes option filter during a search, you should see results without footnotes hits. In the frontends I write, I will often keep a display SWMgr and a search SWMgr around configured accordingly.
Also, I believe an indexed search is configured to not include footnotes. If you are compiling with clucene support you can use the mkfastmod utility to build the indexes or have a look in its source for the methods to call from within your app.
https://crosswire.org/svn/sword/trunk/utilities/mkfastmod.cpp
Hope this helps,
Troy
On December 17, 2022 2:58:20 AM MST, Tobias Klein <contact at tklein.info> wrote:
>Dear Troy,
>
>I noticed that the SWORD module search functionality also searches the content of footnotes.
>
>Is it possible to make this configurable in the SWModule::search function?
>
>Best regards,
>Tobias
>_______________________________________________
>sword-devel mailing list: sword-devel at crosswire.org
>http://crosswire.org/mailman/listinfo/sword-devel
>Instructions to unsubscribe/change your settings at above page
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20221217/fc5050eb/attachment.htm>
More information about the sword-devel
mailing list