RE: Removing brackets before indexing

2006-06-01 Thread Mile Rosu
ok, still needs more testing. By just using SimpleAnalyzer words were split. Mile -Original Message- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 7:36 PM To: java-user@lucene.apache.org Subject: Re: Removing brackets before indexing Mile, Any

Re: Removing brackets before indexing

2006-05-31 Thread Otis Gospodnetic
Mile, Any Analyzer that uses a Tokenizer that throws out non-characters will do. For example, take a look at SimpleAnalyzer. It uses LowerCaseTokenizer. If you read the javadoc for LowerCaseTokenizer, I think you will see it suits you. Otis - Original Message From: Mile Rosu <[EMAIL