I need to fetch all document but this query only return 10 documents. I'm checking through postman

{
"query": {
"match_all": {}
}
}

You can use:

  • the size and from parameters to display by default up to 10000 records to your users. If you want to change this limit, you can change index.max_result_window setting but be aware of the consequences (ie memory).
  • the search after feature to do deep pagination.
  • the Scroll API if you want to extract a resultset to be consumed by another tool later.

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