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
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.
>
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
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...
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