lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawan preet <>
Subject Re: StandardAnalyzer and numbers indexed as text
Date Wed, 14 Jan 2004 03:57:59 GMT
  if u want that your number like 200x should not filter by StandardAnalyzer then
Change the method isTokenChar() called in file and
is implemented in
So do not filter number : for that use

Patrick Kates <> wrote:
Hi all,

I have a text field called ACTIVE_YEAR that stores (of course) a year like
2003. When I index this field I can see the number in my index (using Luke)
but I can't search it. If I add a text character to the end of the field
and index it (200x) I can then search and find 'x', but not any portion of
the number.

One finally piece of info, when using Luke to view the terms contained in
the index I can find my 'x' term, but none of the years are listed as terms.

Any ideas on how to fix this?



To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message