I am trying to query my index and filtering according to geo-distance at the same time though paginate through my index but I ma getting this error
Error:
{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "bool query does not support [search_after]",
"line": 7,
"col": 21
}
],
"type": "parsing_exception",
"reason": "bool query does not support [search_after]",
"line": 7,
"col": 21
},
"status": 400
}
Actual Query:
{
"query": {
"bool" : {
"should" : {
"match_all" : {}
},
"search_after": [1463538857, "654323"],
"filter" : {
"geo_distance" : {
"distance" : "150km",
"location" : {
"lat" : xxxx,
"lon" : xxxxx
}
}
}
}
}
}