lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: how to put multiplue proximity search in lucene??
Date Thu, 26 Jul 2012 14:37:13 GMT
>  fear2dark tight3free is one single
> query and im using query parser. If i
> will pass
>   "fear dark"~2 "tight free"~3  then i will not
> get result in which dark
> and tight near to eachother. 

So you want to be dark and tight adjacent to each other. SurroundQueryParser support nested
proximity search.
It has operators for both unordered and ordered query.
Your query would be something like this:
(fear 2w dark) w (tight 3w free)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message