"from and size" for ES-5.0.0 aggregation


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"
          }    },
            "field": "code",
        "size": "10"
            }   }  }  }

It works but I want to do "from": "5","size": "10"

How can I do?

Thanks advance.

Look at this issue and the ending answer by Mark:

Thank yo for your response.
It is not possible to do this with as much as I understand.

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