In Solr , I am fetching results using groupBy on "hash" ( my custom field ) field. As we know each group will contains a set of documents.
My requirement is:
- Solr first do a sorting based on score , that it is already doing.
- If score of any two groups is same , then
group with more number of documents should come up.
- If even number of documents are same , then
there should be some tie-breaker.
I need guidance for point 2 and 3. I am not able to get how to do it using 'sort' parameter.
Thanks Amit Aggarwal