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?
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
hi,
I've created an Analyzer that performs a few filtering tasks, including
creating Shingles and term Replacements among other things.
I use that Analyzer with IndexWriter and it works as expected. but when
I use that same Analyzer with QueryParser
(org.apache.lucene.queryparser.classic.Qu