lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Highlighting question
Date Wed, 01 Aug 2007 19:08:16 GMT
On 8/1/07, Daniel Alheiros <Daniel.Alheiros@bbc.co.uk> wrote:
> I'm using the PorterStemmerFilterFactory when indexing but not when
> querying.

That's problematic though.  During index time, if "city" is stemmed to
"citi", then a search of "city" will find nothing unless it's stemmed
too.

One should always use the same analyzer for indexing and querying (or
at least "compatible" analyzers... filters that can inject tokens
(synonym and word delimier filters) are an exception)

-Yonik

Mime
View raw message