Skip to content

Abstract Elasticsearch scroll so user can list all data #4

@ngachung

Description

@ngachung

Calling list_granules(limit=100, page=page) to fetch all granules for a given collection will return "Result window is too large, from + size must be less than or equal to: [10000] but was [10100]. See the scroll api for a more efficient way to request large data sets." when trying to more than 10000 granules. This is a known limitation of Elasticsearch and we need to use Elasticsearch scroll to fetch all data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions