We're sorting the hits from Elastic based upon the last activity date for jobs posted by the company. Once you get this far down the list of companies they pretty much all have the same sort key:
[
{
"_index": "careers-company-search-2017.08.25-13.26.28",
"_type": "company-page",
"_id": "22813",
"_score": null,
"sort": [
-9223372036854776000
]
},
{
"_index": "careers-company-search-2017.08.25-13.26.28",
"_type": "company-page",
"_id": "22949",
"_score": null,
"sort": [
-9223372036854776000
]
}
]
Elastic doesn't guarantee deterministic sort order in the face of identical keys because the query is sharded across multiple nodes and the order is dictated by the node that returns their results first.
We could start to use a cursor and the Elastic scrolling API but then our Elastic servers have to maintain a bunch of state. That hurts when you do it at scale.
We could add a secondary key to make this consistent but we have data to indicate that users rarely go past the first few pages of a search and certainly not out to page 1762. There's really no point making Elastic do additional work for something that is an unlikely event.
I'm afraid this is status-declined.