A good example to look at for filters is the StandardAnalyzer org.apache.lucene.analysis.standard
This is also a good analyzer to use if you want to include numbers. Just replace the Analyzer you are using now (StopAnalyzer, or SimpleAnalyzer with Standard Analyzer). --Peter On Tuesday, January 8, 2002, at 09:37 AM, Ron Greenwood wrote: > Hi, > > How do you use the filters such as the PorterStemmer Filter? I can't > find and docs or sample code that show how to do this. Also, I am > unable to search for numbers when I do a query. They seem to all be > stripped out of my search. How would I go about doing this? > > Thanks, Ron > > -- > To unsubscribe, e-mail: <mailto:lucene-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:lucene-user- > [EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
