lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: About query parser
Date Tue, 15 Mar 2011 17:19:07 GMT
>  For example, i wanna search for 'great sum', and 'great
> sum', 'greater sum', ... may be found, and sum great must
> not be found. It means I need not only exact word, but also
> prefix search (or some other search criteria like fuzzy...).
> In my app, I used "great* sum*", but it does not work.
> 

ComplexPhraseQueryParser may help. Or you can construct your queries with lucene Query API.

http://lucene.apache.org/java/3_0_1/api/contrib-misc/org/apache/lucene/queryParser/complexPhrase/ComplexPhraseQueryParser.html


      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message