On Apr 9, 2006, at 3:02 PM, Perez wrote:
In article
<[EMAIL PROTECTED]>,
 Erik Hatcher <[EMAIL PROTECTED]> wrote:

This could be a case of your QueryParser analyzer eating a number.
Range queries and prefix/wildcard query terms are not analyzed.

Besides the great suggestion to use Luke, also try a TermQuery if you
happen to be using QueryParser to create your Query currently.

        Erik


Actually, that's another problem I have. I can't search for numbers at
all no how.  But the analyzer is just PorterStemmer(Lowercase(Stop))).

Can you tell me where the analyzer is eating numbers?

What is the tokenizer you're using deeper below the "Stop" you mentioned? The StopAnalyzer itself uses a LetterTokenizer, so numbers get removed and only letters remain.

Check out the "analysis paralysis" article I did at java.net and the AnalyzerDemo (or is it AnalysisDemo?) in the Lucene in Action codebase - it'll shed a lot of light on analyzers.

        Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to