Re: Analyzer in QueryParser behaves differently from IndexWriter

2013-01-13 Thread Igal @ getRailo.org
thanks Erik. I tried putting the query in "double quotes" and it made some difference but still not exactly what I'm looking for. so what's my best solution? to avoid using the QueryParser and instead "parse" the query myself? is there a different (better) query parser for this situation?

Re: Analyzer in QueryParser behaves differently from IndexWriter

2013-01-13 Thread Erik Hatcher
The analyzer through QueryParser is invoked for each "clause" and thus in your example it's invoked 4 times and thus each invocation only sees one word/term. Erik On Jan 13, 2013, at 2:13, "Igal @ getRailo.org" wrote: > hi, > > I've created an Analyzer that performs a few filtering tasks