Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] Scroll API helper functions #63

Open
russcam opened this issue Feb 28, 2020 · 0 comments
Open

[ENHANCEMENT] Scroll API helper functions #63

russcam opened this issue Feb 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@russcam
Copy link
Contributor

russcam commented Feb 28, 2020

Similar to #62, The scroll API can be used to retrieve a large number of documents from Elasticsearch by issuing a search request with the scroll parameter, and using the scroll_id returned in a response to fetch the next batch of documents with a search request, continuing until all documents are retrieved.

Many of the existing Elasticsearch clients provide a "scroll helper" for this purpose. The helper can issue a search request, and continue to issue search requests until all documents are retrieved. The scroll can be sliced, allowing concurrent scrolls to be executed.

The Rust client should provide a similar, idiomatic way of helping consumers retrieve a large collection of documents.

@russcam russcam added the enhancement New feature or request label Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant