- Java Transport Client (deprecated): other versions:
- Preface
- Javadoc
- Maven Repository
- Client
- Document APIs
- Search API
- Aggregations
- Query DSL
- Java API Administration
Terminate After
editTerminate After
editThe 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
object:
Was this helpful?
Thank you for your feedback.