lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: hypens
Date Tue, 18 Apr 2006 14:59:18 GMT
On 4/18/06, John Powers <jpowers@configureone.com> 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 sense in certain cases.

Solr has a WordDelimiterFilter that handles hyphen (and many other)
cases like this.
It can make wi-fi match a query of wifi or "wi fi" or "WiFi".  Solr
also allows easy specification of different analyzers for index vs
query time.

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters


-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server

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


Mime
View raw message