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

Abstract Elasticsearch scroll so user can list all data #4

Open
ngachung opened this issue Jun 18, 2020 · 0 comments
Open

Abstract Elasticsearch scroll so user can list all data #4

ngachung opened this issue Jun 18, 2020 · 0 comments

Comments

@ngachung
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant