[Pkg-crosswire-devel] Testing Lucene search
Matthew Talbert
ransom1982 at gmail.com
Sun Jan 25 17:02:35 GMT 2009
> When I edit search.cpp so that we really use Lucene search, it is much
> quicker but gives me an "or" search listing all verses with any one of
> the searched-for words, not the single verse containing all of them. A
> bit weird, but at least that seems to suggest that Lucene search is
> working as (probably) intended.
This is default Lucene syntax. Use "+" in front of every word you want
to AND. Look at
http://lucene.apache.org/java/1_4_3/queryparsersyntax.html for other
syntax options.
Matthew
More information about the Pkg-crosswire-devel
mailing list