Update docs to note that a size of -1 will return all the results from the query
Closed this issue · 3 comments
ctindel commented
Or we should note that omitting the size parameter will return all results from the query.
One or the other, its just that our docs don't currently answer the question of what to do if you want the full result set.
ycombinator commented
This input makes a scroll request under the hood. Such a request will always return all the hits (except with size = 0
) eventually. The size
only pertains to how many hits should be returned in each scroll (aka batch).
ctindel commented
Ah ok that makes sense, thanks.
ycombinator commented
Related: #85