I found another workable solution.
"sort": [
{
"_score": {
"order": "desc"
}
},
{
"date": {
"order": "desc"
}
}
]
This sorts first by score and then by date. So this has the effect of
ranking by score and then ranking those items with the same score by date.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/150e9e85-3124-42d8-a4e9-a206c5280bfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.