Class CreateRequestParameters
- Namespace
- Elasticsearch.Net
- Assembly
- Elasticsearch.Net.dll
Request options for Create
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
public class CreateRequestParameters : RequestParameters<CreateRequestParameters>, IRequestParameters
- Inheritance
-
CreateRequestParameters
- Implements
- Inherited Members
Constructors
CreateRequestParameters()
public CreateRequestParameters()
Properties
DefaultHttpMethod
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Parent
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
Pipeline
The pipeline id to preprocess incoming documents with
public string Pipeline { get; set; }
Property Value
Refresh
If true
then refresh the affected shards to make this operation visible to search, if wait_for
then wait for a refresh to make this
operation visible to search, if false
(the default) then do nothing with refreshes.
public Refresh? Refresh { get; set; }
Property Value
Routing
Specific routing value
public string Routing { get; set; }
Property Value
Timeout
Explicit operation timeout
public TimeSpan Timeout { get; set; }
Property Value
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
WaitForActiveShards
Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard
only. Set to all
for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the
shard (number of replicas + 1)
public string WaitForActiveShards { get; set; }