lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heaven <aheave...@gmail.com>
Subject Re: Help with StopFilterFactory
Date Sun, 24 Aug 2014 16:14:29 GMT
Just a guess but it seems that auto phase generation and stop filter factory
don't know of each other.

Here's the current field configuration:
{code}
<fieldType name="words_ngram" class="solr.TextField" omitNorms="false"
autoGeneratePhraseQueries="true">
  <analyzer type="index">
    <tokenizer class="solr.PatternTokenizerFactory" pattern="[^\w]+" />
    <filter class="solr.StopFilterFactory" words="url_stopwords.txt"
ignoreCase="true" />
    <filter class="solr.LowerCaseFilterFactory" />
    <filter class="solr.EdgeNGramFilterFactory" minGramSize="2"
maxGramSize="40" />
  </analyzer>
  <analyzer type="query">
    <tokenizer class="solr.PatternTokenizerFactory" pattern="[^\w]+" />
    <filter class="solr.StopFilterFactory" words="url_stopwords.txt"
ignoreCase="true" />
    <filter class="solr.LowerCaseFilterFactory" />
  </analyzer>
</fieldType>
{code}



--
View this message in context: http://lucene.472066.n3.nabble.com/Help-with-StopFilterFactory-tp4153839p4154807.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message