We make a solr request where we provide a custom function (which is rather complicated) and sort the results by the value of this function. The query looks something like this:
solr/select?customFunc=complexFunction(querySpecificValue1,querySpecificValue2)&sort_by=$customFunc&fq=......
Our understanding is that we can only return the fields to the document and return the solr back from solr. Can someone tell us if and how we can get the calculated customFunc value for each document. For some reason, we cannot set the solr value to customFunc.
source share