CountRequest<T>
public class CountRequest<T> : PlainRequestBase<CountRequestParameters>, ICountRequest, IRequest<CountRequestParameters>, IRequest
Request parameters for Count https://www.elastic.co/guide/en/elasticsearch/reference/5.x/search-count.html
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
The analyzer to use for the query string
Specify whether wildcard and prefix queries should be analyzed (default: false)
The default operator for query string query (AND or OR)
The field to use as default where no field prefix is given in the query string
Include the stack trace of returned errors.
Whether to expand wildcard expression to concrete indices that are open, closed or both.
A comma-separated list of filters used to reduce the respone.
Return human readable values for statistics.
Whether specified concrete indices should be ignored when unavailable (missing or closed)
Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
Specify whether query terms should be lowercased
Include only documents with a specific `_score` value in the result
Specify the node or shard the operation should be performed on (default: random)
Pretty format the returned JSON response.
Query in the Lucene query string syntax
Specific routing value
The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
public CountRequest()
/_count
T describes an elasticsearch document type from which the index, type and id can be inferred
/{index}/_count
/{index}/{type}/_count