If you change your WordDelimiterFilterFactory (WDF) setting in the <query> section of your field definition and set catenatewords="1", do you get the specific behavior you're asking for when you search for "crosslin* compiler"~50? And is this acceptable?
However, WDF settings take some time to really understand. I strongly recommend you spend some time on the admin/analysis page to get your mind around all the ramifications, or you'll be surprised <G>.... Also, the surround or span queries in lucene might give you another avenue, but you'd have to do some custom work to use them. Best Erick On Thu, Mar 31, 2011 at 2:51 AM, jmr <jmpala...@free.fr> wrote: > > iorixxx wrote: >> >> Hi Jean, >> Since you use WDF, your best bet can be to modify your query : >> >> "cross link* compiler"~50 >> >> "crosslink* compiler"~50 >> > > Thanks but > > "crosslink* compiler"~50 returns nothing (seems correct to me however) > > "cross link* compiler"~50 does not return exactly what I want e.g it > returns: > A cross and a linker and a compiler > > I want the exact expression "cross link* e.g cross linkage, cross linking, > cross linked ... > > Jean-Michel > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/ComplexPhraseQueryParser-and-wildcards-tp2742244p2757396.html > Sent from the Solr - User mailing list archive at Nabble.com. >