You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
Terminate Afteredit
The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
If set, you will be able to check if the operation terminated early by asking for isTerminatedEarly()
in the
SearchResponse
onject: