I am using Solr for my mobile applications and it works really well. For now, I use Solr to search for users, sorted by distance. But now I want to boost the results that are fresher and leave the oldest one at the end of the results.
I have a last_active_datetime field in my schema, not multivalued:
<field name="last_active_datetime" type="date" indexed="true" stored="true" multiValued="false" />
How can I sort the results by distance and leave the old results at the end? Before I did this:
sort=geodist()asc
And now, I am trying this:
sort=geodist()asc, last_active_datetime desc
But I don't see any difference in the results. Do I have to put a weight to the sorting fields?
Thanks!