[sword-devel] python search with lucene indexes ?
Troy A. Griffitts
scribe at crosswire.org
Tue Feb 13 11:07:58 MST 2007
> * searchType - type of search to perform
> * >=0 - regex
> * -1 - phrase
> * -2 - multiword
> * -3 - entryAttrib (eg.
> * Word//Lemma/G1234/)
> * -4 - clucene
> It looks like all that is needed is to use '4' as an argument to the
> search function, wich, in python should be in the module doSearch
Almost, >= 0 is a regex search (this was for backward compatabiility,
as we used to pass regex flags here before we added a 'flags' parameter)
clucene searching is '-4'.
Hope this helps,
More information about the sword-devel