How to retrieve all documents

Hi everyone,
Currently, I want to retrieve all the documents from one engine but I could not find any solution for that, for the search and document list APIs, they just support getting a maximum of 10000 documents.

Thank you in advance.

How are you trying to get all the documents? I've used scan for this in one project I'm contributing and it works really good.

You should take in mind that it doesn't work for aggregations (if you need to use it). You can take a look into the documentation of Scan

Hi @adrianfusco,
Thank you for the suggestion. Yeah, I also want to connect to ES directly and use the search after feature to overcome this issue.

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