Hello Sitecore Stack Exchange,

Environments: Sitecore 9.2, Solr 7.5.0|SolrCloud 7.5.0, Custom search index.

In the Search logic I have the next requirement: I should group search response and sort groups by score and by numFound group value then Solr Grouping Picture

I saw some links that noticed that it is not possible or it is possible through two queries using facets (implemented currently). But they are pretty old and probably something changed. For example:

  1. https://stackoverflow.com/questions/17457868/how-to-order-groups-by-count-in-solr

  2. https://stackoverflow.com/questions/52219765/solr-6-how-to-group-by-title-and-return-groups-that-contain-minimum-5-numfound

  3. https://issues.apache.org/jira/browse/SOLR-9678?jql=text%20~%20%22numFound%22

Will be appreciate any help.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.