Class BulkRequestParameters
- Namespace
- Elasticsearch.Net
- Assembly
- Elasticsearch.Net.dll
Request options for Bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
public class BulkRequestParameters : RequestParameters<BulkRequestParameters>, IRequestParameters
- Inheritance
-
BulkRequestParameters
- Implements
- Inherited Members
Constructors
BulkRequestParameters()
public BulkRequestParameters()
Properties
DefaultHttpMethod
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Fields
Default comma-separated list of fields to return in the response for updates, can be overridden on each sub-request
public string[] Fields { get; set; }
Property Value
- string[]
Pipeline
The pipeline id to preprocess incoming documents with
public string Pipeline { get; set; }
Property Value
Refresh
If true
then refresh the effected 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
SourceEnabled
True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request
public bool? SourceEnabled { get; set; }
Property Value
- bool?
SourceExclude
Default list of fields to exclude from the returned _source field, can be overridden on each sub-request
public string[] SourceExclude { get; set; }
Property Value
- string[]
SourceInclude
Default list of fields to extract and return from the _source field, can be overridden on each sub-request
public string[] SourceInclude { get; set; }
Property Value
- string[]
Timeout
Explicit operation timeout
public TimeSpan Timeout { get; set; }
Property Value
TypeQueryString
Default document type for items which don't provide one
public string TypeQueryString { get; set; }
Property Value
WaitForActiveShards
Sets the number of shard copies that must be active before proceeding with the bulk 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; }