On 9/11/2019 5:27 PM, Ashwin Ramesh wrote:
I was wondering if there is a way we can tell solr (7.3+) to run none of
it's scoring logic. We would like to simply add a set of filter queries and
order on a specific docValue field.
e.g. "Give me all fq=color:red documents ORDER on popularityScore DESC"
I don't know whether doing so actually tells Solr to completely skip the
scoring calculations, but you can easily make those calculations
irrelevant simply by including a sort parameter with your query that
references something other than score.
I would not expect skipping scoring to provide much in the way of a
performance enhancement even if specifying a sort does disable those
calculations. Java can do math calculations VERY quickly, and as I
understand it, scoring is just math.
Thanks,
Shawn