- <init>
Constructs a new count request against the provided indices. No indices provided
means it will run a
- minScore
The minimum score of the documents to include in the count. Defaults to -1 which
means all documents
- preference
- routing
The routing values to control the shards that the search will be executed on.
- types
The types of documents the query will run against. Defaults to all types.
- indicesOptions
- query
- source
The source to execute.
- terminateAfter
Upon reaching terminateAfter counts, the count request will early terminate
- toSearchRequest