Searching both phrase and it's words

2012-06-30 Thread sxam
Hi, Suppose we have a query "balcony table". I want results to be returned by exact match (first priority) and by single words matching as well (for "balcony" or for "table"). So currently my solution is: Analyzer analyzer = new SnowballAnalyzer("English", StopAnalyzer.ENGLISH_STOP_WORDS_SET);

Re: Searching both phrase and it's words

2012-06-30 Thread Jack Krupansky
Jack Krupansky -Original Message- From: sxam Sent: Saturday, June 30, 2012 3:55 PM To: java-user@lucene.apache.org Subject: Searching both phrase and it's words Hi, Suppose we have a query "balcony table". I want results to be returned by exact match (first priority) and by