Hi everyone,

I am trying to get Synonyms working with CJKAnalyzer. Search works fine but
synonyms do not work as expected. Here is my field definition in the schema
file:

<fieldType name="cjk" class="solr.TextField">
          <analyzer class="org.apache.lucene.analysis.cjk.CJKAnalyzer">
            <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
ignoreCase="true"       expand="true"/>
          </analyzer>
</fieldType>

When testing on the analysis page, the synonym filter does not kick in at
all. 

My question is:

What am I doing wrong and what is the proper way of defining the field type?

Thanks in advance for your help!

Alex




-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/CJKAnalyzer-and-Synonyms-tp2510104p2510104.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to