Hi,

You can combine two different ComplexPhraseQueries for both fields using an
BooleanQuery with Occur.MUST.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of
> Fabiano Nunes
> Sent: Sunday, September 26, 2010 10:32 AM
> To: [email protected]
> Subject: Fuzzy Phrase
> 
> Is it possible to search for fuzzy phrase queries like -- "colorless~
green~
> ideas~" -- ?
> I have had some success with ComplexPhraseQuery, but I can't use it for
> querying two fields at same time, ie, -- head:"hello~ world"~3 AND
> contents:"colorless~ green~ ideas~" --
> 
> Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to