Skip to content

[ENHANCEMENT] Scroll API helper functionsΒ #63

Open
@russcam

Description

@russcam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions