Using Elasticsearch 5.2, I stored around 20k Geo Points.
I want to query all of them to show them in a Google map. However, as specified in the documentation, the limit size seems to be 10k (I get the error Result window is too large, from + size must be less than or equal to: [10000] but was [20000]
.
Is there a workaround to get all my points ?
The query I used is :
{
"size":10000,
"_source": ["geo"],
"query": {
"bool": {
"must" : [
{ "term" : { myId" : 1234 } },
{
"range" :{
"@timestamp" : {
"gte" : "now-10m"
}
}
}
]
}
}
}