I've recently installed solr and built an index.  It's working for the most
part, but no matter what I do, I can't seem to get filter queries where the
filtered value is multiple words to work.  By work I mean to literally
filter exactly by the phrase provided in "fq".

After trying many different things, here's the most recent field type I'm
trying:

<fieldType name="text_exact" class="solr.TextField"
positionIncrementGap="100" sortMissingLast="true" omitNorms="true">
      <analyzer type="index">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory" />
        <filter class="solr.TrimFilterFactory" />
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.KeywordTokenizerFactory" />
        <filter class="solr.LowerCaseFilterFactory" />
        <filter class="solr.TrimFilterFactory" />
      </analyzer>       
    </fieldType>

When I fq by a multi word string, it does something, but returns many
results with values not in the FQ

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-Word-Filter-Queries-tp2935451p2935451.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to