Sorting with from and to with search_after

Hi

How to sort on all the available values on an index with from and to with search_after

like below
when we use from:0 it always picks the 100 records and performs a sort on that chunk of items

from:0,
"size": 100,
"query": {
"match" : {
"title" : "elasticsearch"
}
},
"search_after": [1463538857, "654323"],
"sort": [
{"date": "asc"},
{"tie_breaker_id": "asc"}
]

how can we perform a sort on all records with from and to with search_after option

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.