Table of Contents

Class SearchTemplateRequestParameters

Namespace
Elasticsearch.Net
Assembly
Elasticsearch.Net.dll

Request options for SearchTemplate

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

Constructors

SearchTemplateRequestParameters()

public SearchTemplateRequestParameters()

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?

DefaultHttpMethod

public override HttpMethod DefaultHttpMethod { get; }

Property Value

HttpMethod

ExpandWildcards

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

public ExpandWildcards? ExpandWildcards { get; set; }

Property Value

ExpandWildcards?

Explain

Specify whether to return detailed information about score computation as part of a hit

public bool? Explain { get; set; }

Property Value

bool?

IgnoreUnavailable

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

public bool? IgnoreUnavailable { get; set; }

Property Value

bool?

Preference

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

public string Preference { get; set; }

Property Value

string

Profile

Specify whether to profile the query execution

public bool? Profile { get; set; }

Property Value

bool?

Routing

A comma-separated list of specific routing values

public string[] Routing { get; set; }

Property Value

string[]

Scroll

Specify how long a consistent view of the index should be maintained for scrolled search

public TimeSpan Scroll { get; set; }

Property Value

TimeSpan

SearchType

Search operation type

public SearchType? SearchType { get; set; }

Property Value

SearchType?

TypedKeys

Specify whether aggregation and suggester names should be prefixed by their respective types in the response

public bool? TypedKeys { get; set; }

Property Value

bool?