Skip to content
Discussion options

You must be logged in to vote

Hello @CBroz1

I guess the param you are looking for is "from", so e.g.:

/api/search?from=0&limit=30&order=desc&sort=creationDate&treatAs=number&unpublished=false

will request the first 31 records (including record number 0).

There is indeed a limitation in how many you can request per API call at 10.000 records, that is due to:

Elasticsearch has a default limit of 10,000 results per query. This limit, known as the "Result window is too large" error, applies to the total number of documents returned in a single search request. While you can technically change the maximum number of results using the index.max_result_window setting, it's crucial to understand the potential impact on memory …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by txau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants