cancel
Showing results for 
Search instead for 
Did you mean: 

Synonyms in the hybris upgrade 6.2 aren't working as expected

svintha
Explorer
0 Kudos

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"

View Entire Topic
0 Kudos

any updates on this one ? I am seeing the same issue with 6.4

svintha
Explorer
0 Kudos

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" />