Re: SWORD Module Search / Also searching footnote content?

"Troy A. Griffitts" <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <[email protected]>
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 <[email protected]> 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: [email protected]
>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.

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.