on ‎2018 May 15 3:15 PM
Hi , We have recently upgraded hybris to version 6.2 right after that the synonyms are not correctly working .
We have created simple synonyms and did a full indexing , Even then the synonims are not working when we search for the actual synonymFrom word .Infact solr should fetch the synonymTo word matching results . Example : When we search for "sairamreddy" in the storefront solr should also bring the results of canon which is not currently working . # Synonyms
INSERT_UPDATE SolrSynonymConfig;facetSearchConfig(name)[unique=true,default=$facetSearchConfigNameMain];language(isocode)[unique=true,default=$indexLanguagesMain];synonymFrom[unique=true];synonymTo
;;;"sairamreddy";"canon"
Request clarification before answering.
Hi All we have got the solution for this this started working fine after making changes to schema.xml in solr by adding the below entries , After the upgrade these entries were missing . We have observed this as compared to OOTB version we have . after adding entries this worked fine .
**<filter class="solr.SynonymFilterFactory" ignoreCase="true" synonyms="synonyms.txt"/>
<filter class="solr.ManagedSynonymFilterFactory" managed="en" />**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any updates on this one ? I am seeing the same issue with 6.4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi this started working fine after making changes to schema.xml in solr by adding the below entries, After the upgrade, these entries were missing. We have observed this as compared to OOTB version we have . after adding entries this worked fine.
<filter class="solr.SynonymFilterFactory" ignoreCase="true" synonyms="synonyms.txt"/>
<filter class="solr.ManagedSynonymFilterFactory" managed="en" />
Hi everyone. I hope it will help. Go to backoffice -> facet search configuation. Copy index name.

than use code, but edit it correctly. In my exemple For webWorld-usIndex code must look next way:
INSERT_UPDATE SolrSynonymConfig;facetSearchConfig(name)[unique=true,default=$facetSearchConfigNameMain];language(isocode)[unique=true,default=$indexLanguagesMain];synonymFrom[unique=true];synonymTo ;"webWorld-usIndex";"en_US";"JennAir";"Jenn-Air"
do not forget to add language (if you will add synonyms manually back-office will force you to choose language), in my example it will be en_US
after that import impex, in back-office you will be able to see this synonym.

re-index solr, or just wait until it will re-index itself. After that synonyms must work.
if it will help don't forget to vote :).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any updates on this one ? I am seeing the same issue with 6.7
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi and @mo this started working fine after making changes to schema.xml in solr by adding the below entries , After the upgrade these entries were missing . We have observed this as compared to OOTB version we have . after adding entries this worked fine .
***<filter class="solr.SynonymFilterFactory" ignoreCase="true" synonyms="synonyms.txt"/>
<filter class="solr.ManagedSynonymFilterFactory" managed="en" />***
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.