lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: solr.StopFilterFactory doesn't work with wildcard
Date Wed, 24 Apr 2013 18:41:42 GMT

: In any case, technically, the stop filter is doing exactly what it is supposed
: to do.

Jack has kind of glossed over some key questions here...

1) why are you using StopFilterFactory in your "multiterm" analyzer like 
this?
2) what do you expect it to do if "series" is in your stopwords and 
someone queries for "series*"

: <fieldType name="search_string" class="solr.TextField"
: positionIncrementGap="100">
: <analyzer type="query">
: <tokenizer class="solr.WhitespaceTokenizerFactory" />
: <filter class="solr.StopFilterFactory" words="stopwords.txt"
: ignoreCase="true"/>
: </analyzer>
: <analyzer type="multiterm">
: <tokenizer class="solr.WhitespaceTokenizerFactory" />
: <filter class="solr.StopFilterFactory" words="stopwords.txt"
: ignoreCase="true"/>
: </analyzer>
: </fieldType>


-Hoss

Mime
View raw message