Which analyzer are you using in your query parser ?
can you share the one line of code in which you construct a QueryParser Object.
As you might be parsing a query string made of different fields, I
suggest you use a
PerFieldAnalyzerWrapper which lets you do unique analysis for different fie
You should test your Analyzer to confirm what tokens are being produced. You
can do this by using a helper class, to save time there is one written in
the Lucene in Action book called AnalyzerUtils, you should be able to get it
out of the download of sourcecode from the book here:
http://www.lucene
Hi Everyone,
I am facing some strange behaviour with Analyzers. I am using SimpleAnalyzer
for some fields in my Compass entity, but I also wrote a custom Analyzer
that is slightly different from the SimpleAnalyzer as I wanted to allow even
letters and digits in company name column.
So custom analy