Table of Contents

Class CountRequestParameters

Namespace
Elasticsearch.Net
Assembly
Elasticsearch.Net.dll

Request options for Count

http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
public class CountRequestParameters : RequestParameters<CountRequestParameters>, IRequestParameters
Inheritance
CountRequestParameters
Implements
Inherited Members

Constructors

CountRequestParameters()

public CountRequestParameters()

Properties

AllowNoIndices

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 bool? AllowNoIndices { get; set; }

Property Value

bool?

AnalyzeWildcard

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

public bool? AnalyzeWildcard { get; set; }

Property Value

bool?

Analyzer

The analyzer to use for the query string

public string Analyzer { get; set; }

Property Value

string

DefaultHttpMethod

public override HttpMethod DefaultHttpMethod { get; }

Property Value

HttpMethod

DefaultOperator

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

public DefaultOperator? DefaultOperator { get; set; }

Property Value

DefaultOperator?

Df

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

public string Df { get; set; }

Property Value

string

ExpandWildcards

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

public ExpandWildcards? ExpandWildcards { get; set; }

Property Value

ExpandWildcards?

IgnoreUnavailable

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

public bool? IgnoreUnavailable { get; set; }

Property Value

bool?

Lenient

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

public bool? Lenient { get; set; }

Property Value

bool?

MinScore

Include only documents with a specific _score value in the result

public double? MinScore { get; set; }

Property Value

double?

Preference

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

public string Preference { get; set; }

Property Value

string

QueryOnQueryString

Query in the Lucene query string syntax

public string QueryOnQueryString { get; set; }

Property Value

string

Routing

A comma-separated list of specific routing values

public string[] Routing { get; set; }

Property Value

string[]

TerminateAfter

The maximum count for each shard, upon reaching which the query execution will terminate early

public long? TerminateAfter { get; set; }

Property Value

long?