Hi,
I want to dofrom and size
for aggregation. I looked at this link (https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-aggregations-bucket-terms-aggregation.html)
There is only the size
part here. Notfrom and size.
Code below brings up 10 records starting from 0:
GET abc/def/_search
{ "query": {
"match": {
"id": "11340073"
} },
"aggs":{
"group_by_state":{
"terms":{
"field": "code",
"size": "10"
} } } }
It works but I want to do "from": "5","size": "10"
How can I do?
Thanks advance.