Class SourceRequestParameters
- Namespace
- Elasticsearch.Net
- Assembly
- Elasticsearch.Net.dll
Request options for GetSource
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
public class SourceRequestParameters : RequestParameters<SourceRequestParameters>, IRequestParameters
- Inheritance
-
SourceRequestParameters
- Implements
- Inherited Members
Constructors
SourceRequestParameters()
public SourceRequestParameters()
Properties
DefaultHttpMethod
public override HttpMethod DefaultHttpMethod { get; }
Property Value
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
Preference
Specify the node or shard the operation should be performed on (default: random)
public string Preference { get; set; }
Property Value
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
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[]
Version
Explicit version number for concurrency control
public long? Version { get; set; }
Property Value
- long?
VersionType
Specific version type
public VersionType? VersionType { get; set; }