logstash-plugins/logstash-input-elasticsearch

Update docs to note that a size of -1 will return all the results from the query

Closed this issue · 3 comments

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.

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).

Ah ok that makes sense, thanks.

Related: #85