You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jim Lynch <jw...@sgi.com> on 2005/01/03 15:59:59 UTC

Re: Need an analyzer that includes numbers.

Hi, Erik,

Thank you very much for taking the time to do this.  I may have 
mentioned, I'm evaluating search engines and am implementing a subset of 
the features that we'll need eventually.  This will help greatly. 

Thanks,
Jim.

Erik Hatcher wrote:

>
> On Dec 25, 2004, at 11:05 AM, Jim wrote:
>
>> I've seen some discussion on this and the answer seems to be "write 
>> your own".  Hasn't someone already done that by now that would 
>> share?  I really have to be able to include numeric and alphanumeric 
>> strings in my searches.   I don't understand analyzers well enough to 
>> roll my own.
>
>
> This is more involved than just keeping numbers around... or at least 
> there are more steps to consider.  Do you want the alpha characters 
> lower-cased, which is the typical behavior so that searches are 
> case-insensitive.  What about punctuation characters?  Generally these 
> get tossed, however there are cases where that is not desired either.
> (Snip excellent response)


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org