Re: Is it possible to combine Wildcard and Phrasequery for the Queryparser

2011-10-13 Thread Dmitry Savenko
} } while (termEnum.next()); // adding last term variations mq.add(qTail.toArray(new Term[] {})); // mq is now the query you need Best regards, Dmitry. - Original Message - From: "Ralf Heyde" To: java-user@lucene.apache.org Sent: Thursday, October 13, 2011 5:07:20 PM Subject

Is it possible to combine Wildcard and Phrasequery for the Queryparser

2011-10-13 Thread Ralf Heyde
Hello, i'm trying to search the following phase: I'm searching all occurrences of: . "The Right Way" . "The Right Ways" Possible solutions could be something like this - combining a phrase & wildcard search: . title:"The Right Way*" . title:"The Ri