It doesn't seem to do it for me. My field type is:
        <fieldType name="synonym_searcher" class="solr.TextField" 
positionIncrementGap="100" autoGeneratePhraseQueries="true">
            <analyzer type="index">                
                                <tokenizer class="solr.KeywordTokenizerFactory" 
/>
                                <filter class="solr.SynonymFilterFactory" 
synonyms="synonyms.txt" ignoreCase="true" expand="true" 
tokenizerFactory="solr.KeywordTokenizerFactory" />                
            </analyzer>
            <analyzer type="query">                             
                <tokenizer class="solr.KeywordTokenizerFactory" />              
  
            </analyzer>
        </fieldType>

I am using edismax and solr 3.5 and multi word values can only be matched when 
using quotes.

-----Original Message-----
From: O. Klein [mailto:kl...@octoweb.nl] 
Sent: Tuesday, February 07, 2012 12:49 PM
To: solr-user@lucene.apache.org
Subject: RE: Multi word synonyms

Isn't that what autoGeneratePhraseQueries="true" is for?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-word-synonyms-tp3716292p3723886.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to