Re: Strange StopFilter and stop words behaviour

2011-07-26 Thread Dawn Zoƫ Raison
Are you using QueryAnalyser...? If so remember that NOT is a reserved word. Dawn On 26/07/2011 04:25, SBS wrote: If I enter a query of just the word "not" I get no matches. If I run a query with just the word "included" I get lots of matches. If I run the query "not included" (without surroun

Re: Strange StopFilter and stop words behaviour

2011-07-26 Thread Ian Lea
I think that passing an empty set or null to StandardAnalyzer should do what you want. There are useful tips at http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2BAC8_incorrect_hits.3F. My guess would be that you aren't using a no-stop-words version of StandardAnalyzer at bo