Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Default limit of query results #291

Open
stephan271 opened this issue May 14, 2020 · 0 comments
Open

Default limit of query results #291

stephan271 opened this issue May 14, 2020 · 0 comments

Comments

@stephan271
Copy link
Member

Issue Name

DefaultLimitQueryResults

Summary

To avoid too large query results by accident, a default limit of 1000 returned documents should be applied, unless a different limit is explicitly requested

Current Behaviour

There is no default limit, which can lead to answers too big to be returned efficiently or within the timeout perioids of the API server for very large databases

Expected Behaviour

Define limit=1000 unless explicitly overridden

Extra Details

Check existing clients (catanie, CLI) if any of them now implicitly assumes to get more data by default. In this case adapt the clients to define an explicit limit above the default of 1000 before changing catamel

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

No branches or pull requests

1 participant