[sword-devel] search indexing

Troy A. Griffitts scribe at crosswire.org
Tue Feb 19 18:04:15 MST 2008


You need to be sure you've built the source with lucene support.  Have a 
look in usrinst.sh and be sure the option is set correctly.

Then you should be able to run a utility called mkfastmod under the 
source code utilities directory.  This will build the index.

Some SWORD frontends use the index if it exists, but the API wants a 
search type of -4 to use the lucene search syntax and index.

Have a look in the source at:


Hope this helps.


Dean Montgomery wrote:
>> Nearly every Sword application can build a fast index for searching.
>> Each has a different way of exposing that capability. That index, once
>> built, is blazingly fast. And this also exposes boolean search capabilities.
> Sounds great, can you point me in the right direction to create and use these
> fast indexes.
> Currently I've been tinkering with the diatheke program and source code.
> Thanks.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list