Search code examples
solrsap-commerce-cloud

Hybris custom facet sort provider not working


I made an implementation where I created a custom Facet Value Sort Provider and a custom Facet Top Values provider.

I assigned them to one of my Solr Indexed Properties. I also change the Facet Sort type to Custom

It worked just fine on my local enviroment and in one of our test enviroments as well. But on our QA enviroment only the top values provider is working. The regular Facet Solr Provider applied is based on the facet result count.

I just notice after this implementation that doesn't matter the Facet sort that I select there, it insists to apply the sort by count.

Do you guys have any idea how to make my custom sort work there? Is there maybe a solr xml that I must change?

Facet Settings Tab

Administration tab


Solution

  • It worked after changing the legacyMode to true in SolrSearchConfig. It was the only different between the enviroments