Hello all,
If I want to plug in my own sorting for facets, what would be the best
approach. I know, out of the box, solr supports sort by facet count and sort by
alpha. I want to plug in my own sorting (say by relevancy). Is there a way to
do that? Where should I start with if I need to write a
Thank You Chris for an immediate response. I am using json facets and my
question was for json facets and using solr 7.2.1. Will try your approach.
Basically I want to use an average of the scores than the sum of the scores and
sort those buckets based on the average score. The scores am assumin
Chris, I was trying the below method for sorting the faceted buckets but am
seeing that the function query query($q) applies only to the score from “q”
parameter. My solr request has a combination of q, “bq” and “bf” and it looks
like the function query query($q) is calculating the scores only o