Table of Contents

Class GetRequestParameters

Namespace
Elasticsearch.Net
Assembly
Elasticsearch.Net.dll

Request options for Get

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

Constructors

GetRequestParameters()

public GetRequestParameters()

Properties

DefaultHttpMethod

public override HttpMethod DefaultHttpMethod { get; }

Property Value

HttpMethod

Parent

The ID of the parent document

[Obsolete("Scheduled to be removed in 7.0, the parent parameter has been deprecated from elasticsearch, please use routing instead directly.")]
public string Parent { get; set; }

Property Value

string

Preference

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

public string Preference { get; set; }

Property Value

string

Realtime

Specify whether to perform the operation in realtime or search mode

public bool? Realtime { get; set; }

Property Value

bool?

Refresh

Refresh the shard containing the document before performing the operation

public bool? Refresh { get; set; }

Property Value

bool?

Routing

Specific routing value

public string Routing { get; set; }

Property Value

string

SourceEnabled

True or false to return the _source field or not, or a list of fields to return

public bool? SourceEnabled { get; set; }

Property Value

bool?

SourceExclude

A list of fields to exclude from the returned _source field

public string[] SourceExclude { get; set; }

Property Value

string[]

SourceInclude

A list of fields to extract and return from the _source field

public string[] SourceInclude { get; set; }

Property Value

string[]

StoredFields

A comma-separated list of stored fields to return in the response

public string[] StoredFields { get; set; }

Property Value

string[]

Version

Explicit version number for concurrency control

public long? Version { get; set; }

Property Value

long?

VersionType

Specific version type

public VersionType? VersionType { get; set; }

Property Value

VersionType?