Hi,

I am facing issue in synonym search of solr. The synonym.txt contain the
format:

ccc => cccc1,cccc2,ccc
ccc => cccc3

I am not getting any search result for ccc. I have created indexes with
string value.

Do i need to change anything in schema .xml ?

 String tag from Schema.xml : 
 <fieldType name="string" class="solr.StrField" sortMissingLast="true"
omitNorms="true">
         <analyzer type="query">
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
ignoreCase="true" expand="true"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt"/>
        <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1" catenateWords="0"
catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.EnglishPorterFilterFactory"
protected="protwords.txt"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
</fieldType>

Any pointers to solve the issue?

Thanks,
Prerna


-- 
View this message in context: 
http://www.nabble.com/Synonym--format-not-working-tp20026988p20026988.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to