Hi, I use solr 4.2 In schema.xml I created the following filed type: <fieldtype name="fuzzy_bn" class="solr.TextField" positionIncrementGap="100" >
<analyzer type="query"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory" /> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /> *<filter class="solr.SynonymFilterFactory" synonyms="bn_synonyms.txt" />* "bn_synonyms.txt" contains: *testword=>test word* In Analyzer I put *testword cars* After <filter class="solr.SynonymFilterFactory" synonyms="bn_synonyms.txt"/> I am getting : *test cars word* So for some reason word and cars are swapped. Could somebody explain why and how to prevent it. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-SynonymFilterFactory-chages-order-of-terms-tp4260567.html Sent from the Solr - User mailing list archive at Nabble.com.