Re: hypens

2006-04-18 Thread Yonik Seeley
On 4/18/06, John Powers <[EMAIL PROTECTED]> wrote: > What do you mean by "use index and search analyzers". Don't you always > have to pass in an analyzer? I am using the standardanalyzer in both > cases. I think he means a different analyzer for search than is used for indexing. It can make se

RE: hypens

2006-04-18 Thread Ramana Jelda
il 18, 2006 4:53 PM > To: java-user@lucene.apache.org > Subject: RE: hypens > > What do you mean by "use index and search analyzers". Don't > you always > have to pass in an analyzer? I am using the standardanalyzer in both > cases. >

RE: hypens

2006-04-18 Thread John Powers
Sent: Tuesday, April 18, 2006 3:45 AM To: java-user@lucene.apache.org Subject: RE: hypens Hi, I would use index & search analyzers in this case.. "b-trunk" is analyzed & indexed as b,btrunk,trunk Search term "b-trunk" is anlayzed using search analyzer as "btrunk&qu

RE: hypens

2006-04-18 Thread Ramana Jelda
Hi, I would use index & search analyzers in this case.. "b-trunk" is analyzed & indexed as b,btrunk,trunk Search term "b-trunk" is anlayzed using search analyzer as "btrunk" and searched. U will find the result.. Similarly for 12412-235, 12412-121, 12412-etc , indexed as 12412,12412235,235 etc...

Re: hypens

2006-04-17 Thread karl wettin
17 apr 2006 kl. 18.59 skrev John Powers: Hello, If I have a user search for "b-trunk" I would like them to be able to find "b-trunk" (with hypen). I would also like someone searching for "b trunk" to also find "b-trunk". If you don't care about spans, make a filter that rebuilds the token