Hello everyone,
In the search results page of our website, display names of facets and sorts codes are not affected from the store language change. I think I found the root cause of this problem, but I need help to solve it with the most possible efficient way.
In our system, there are populators with cache configuration. These are defined in psdtocache-populators.xml file under psdtocache extension. When I commented out the following code in this file, language change affects the display names of facets. However, instead of disabling all cache configuration from solrfacetsearch populators, I need to solve this problem by changing cache configuration as little as possible.
Any help will be appreciated.
Regards,
<entry key="de.hybris.platform.solrfacetsearch.converters.populator.DefaultFacetSearchConfigPopulator">
<list>
<value>description</value>
<value>indexConfig</value>
<value>name</value>
<value>searchConfig</value>
<value>solrConfig</value>
</list>
</entry>
<entry key="de.hybris.platform.commerceservices.search.solrfacetsearch.populators.CommerceIndexedTypePopulator">
<list>
<value>sorts</value>
<value>sortsByCode</value>
</list>
</entry>
<entry key="de.hybris.platform.solrfacetsearch.converters.populator.DefaultIndexedTypePopulator">
<list>
<value>variant</value>
<value>indexedProperties</value>
<value>composedType</value>
<value>identityProvider</value>
<value>modelLoader</value>
<value>typeFacets</value>
<value>defaultFieldValueProvider</value>
<value>fieldsValuesProvider</value>
<value>indexName</value>
<value>indexNameFromConfig</value>
<value>staged</value>
<value>code</value>
<value>solrResultConverter</value>
<value>uniqueIndexedTypeCode</value>
<value>listeners</value>
</list>
</entry>
<entry key="de.hybris.platform.solrfacetsearch.converters.populator.DefaultIndexConfigPopulator">
<list>
<value>indexedTypes</value>
<value>catalogVersions</value>
<value>languages</value>
<value>currencies</value>
<value>enabledLanguageFallbackMechanism</value>
<value>listeners</value>
<value>exportPath</value>
<value>numberOfThreads</value>
<value>batchSize</value>
<value>indexMode</value>
<value>ignoreErrors</value>
<value>commitMode</value>
<value>optimizeMode</value>
</list>
</entry>
<entry key="de.hybris.platform.commerceservices.search.solrfacetsearch.populators.CommerceIndexedPropertyPopulator">
<list>
<value>categoryField</value>
<value>priority</value>
<value>visible</value>
<value>displayName</value>
<value>classAttributeAssignment</value>
<value>topValuesProvider</value>
<value>multiSelect</value>
<value>facetSortProvider</value>
<value>valueProviderParameter</value>
<value>autoSuggest</value>
<value>spellCheck</value>
</list>
</entry>