lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Numbers in Index
Date Tue, 15 Feb 2005 01:01:58 GMT

On Feb 14, 2005, at 4:32 PM, Miro Max wrote:
> actually i'm using standard analyzer during my index
> process. but when i browse the index with luke there
> also numbers inside.
> which analyzer should i use to eliminate this from my
> index or should i specify this in my stopword list?

Don't use a stop word list to remove numbers.  You could do a couple of 
things.... use SimpleAnalyzer, or write a custom analyzer which uses 
the parts of StandardAnalyzer and applies a number removal filter at 
the end.


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

View raw message