[sword-devel] search indexing

Troy A. Griffitts scribe at crosswire.org
Wed Feb 20 08:54:53 MST 2008

Dear Dean,

Yes, an oddity is that Hebrew strongs are prefaced with a 0.  Before we 
added the G|H prefix, the leading 0 determined that it was Hebrew and 
not Greek.  The field name is lemma:


Dean Montgomery wrote:
>> 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:
>> examples/cmdline/search.cpp
> This helped allot!!  Very fast!  I added the lucene option to diatheke.
> Does mkfastmod create lucene fields for strongs and lemma?
> If yes what is the field syntax to query strongs or lemma fields in the KJV
> using lucene?
> I've tried:
> "strong:H430"
> "strong:430"
> "strongs:H430"
> "strong-hebrew:H430" etc etc.
> http://lucene.apache.org/java/docs/queryparsersyntax.html
> _______________________________________________
> 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