NEST by Elastic and contributors

<PackageReference Include="NEST" Version="5.4.0" />

.NET API 4,554,240 bytes

 CountRequest<T>

Request parameters for Count https://www.elastic.co/guide/en/elasticsearch/reference/5.x/search-count.html
public bool AllowNoIndices { get; set; }

Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)

public string Analyzer { get; set; }

The analyzer to use for the query string

public bool AnalyzeWildcard { get; set; }

Specify whether wildcard and prefix queries should be analyzed (default: false)

public DefaultOperator DefaultOperator { get; set; }

The default operator for query string query (AND or OR)

public string Df { get; set; }

The field to use as default where no field prefix is given in the query string

public bool ErrorTrace { get; set; }

Include the stack trace of returned errors.

public ExpandWildcards ExpandWildcards { get; set; }

Whether to expand wildcard expression to concrete indices that are open, closed or both.

public string[] FilterPath { get; set; }

A comma-separated list of filters used to reduce the respone.

public bool Human { get; set; }

Return human readable values for statistics.

public bool IgnoreUnavailable { get; set; }

Whether specified concrete indices should be ignored when unavailable (missing or closed)

public bool Lenient { get; set; }

Specify whether format-based query failures (such as providing text to a numeric field) should be ignored

public bool LowercaseExpandedTerms { get; set; }

Specify whether query terms should be lowercased

public double MinScore { get; set; }

Include only documents with a specific `_score` value in the result

public string Preference { get; set; }

Specify the node or shard the operation should be performed on (default: random)

public bool Pretty { get; set; }

Pretty format the returned JSON response.

public QueryContainer Query { get; set; }

public string QueryOnQueryString { get; set; }

Query in the Lucene query string syntax

public string Routing { get; set; }

Specific routing value

protected ICountRequest Self { get; }

public string Source { get; set; }

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

public CountRequest(Indices index)

/{index}/_count

public CountRequest(Indices index, Types type)

/{index}/{type}/_count