Scale function is taking longer in solr 7.4 than it was in solr 6.6

I recently upgraded Solr from version 6.6 to 7.4 and noticed that my queries are now taking longer to return results. Below is an example of the query that I am using:


So the above query was working fine in version 6.6 and returned results within 30 seconds (usually under 10 seconds), but the same query in version 7.4 is taking longer than 30 seconds to return results. I was playing with all the query parameters and found that if I removed "&boost=scale(log(sum(boost%2C1))%2C1%2C5)" from the query, then the results were coming back in the expected timeframe (less than 30 seconds). I've done some research to see if anyone has experienced anything similar, but found nothing. Also, I didn't find anything in regards to the new version of solr making changes to the scale function.


So has anyone else experienced this? My initial thought was that the queries were taking longer because it is doing all the calculations, including the scaling, at query time. Am I right on that? I'm still new to Solr (only 3 months in) and could use any advice you guys have to offer. Thanks in advance!

No answers yet