iorixxx wrote: > > ComplexPhraseQuery is ordered phrase query where default Lucene's > PhraseQuery is unordered. With ComplexPhrase order or terms are important. >
Thanks for your answer. With this request: (text:("protein digest"~50)) || (text:("digest protein"~50)) I get my 6 documents. In my opinion, ordering term in a proximity search does not make sense! So the work around for us is to generate the opposite search every time a proximity operator is used. not very elegant! Anyway, thaks again for the answer, J-Michel -- View this message in context: http://lucene.472066.n3.nabble.com/A-bug-in-ComplexPhraseQuery-tp1744659p1750748.html Sent from the Solr - User mailing list archive at Nabble.com.