Hello, I am currently performing a query to a Solr index I've set up and I'm trying to 1) sort on the score and 2) sort on the date_created (a custom field I've added). The sort command looks like: sort=score+desc,created_date+desc.
The gist of it is that I will 1) first return the most relevant results then 2) within those results, return the most recent results. However, the issue I have is that the score is a decimal value that is far to precise (e.g. 2.3518934 vs 2.2173865) and will therefore never "collide" and trigger the secondary sort on the date. The question I am asking is if anyone knows a way to produce a score that is more coarse, or if it is possible to force the score to return as an integer. That way I could have the results collide on the score more often and therefore sort on the date as well. Thanks! -Derek