Class BulkStreamRequestParameters
Request options for BulkStream
https://opensearch.org/docs/latest/api-reference/document-apis/bulk-streaming/
Implements
Inherited Members
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class BulkStreamRequestParameters : RequestParameters<BulkStreamRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceBatchInterval
Specifies for how long bulk operations should be accumulated into a batch before sending the batch to data nodes.
Declaration
public TimeSpan BatchInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
BatchSize
Specifies how many bulk operations should be accumulated into a batch before sending the batch to data nodes.
Declaration
public long? BatchSize { get; set; }
Property Value
Type | Description |
---|---|
long? |
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourcePipeline
ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value
to _none
disables the default ingest pipeline for this request. If a final pipeline is configured it will always run, regardless of the
value of this parameter.
Declaration
public string Pipeline { get; set; }
Property Value
Type | Description |
---|---|
string |
Refresh
If true
, OpenSearch refreshes 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
do nothing with refreshes. Valid values: true
, false
, wait_for
.
Declaration
public Refresh? Refresh { get; set; }
Property Value
Type | Description |
---|---|
Refresh? |
RequireAlias
If true
, the request's actions must target an index alias.
Declaration
public bool? RequireAlias { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Routing
Custom value used to route operations to a specific shard.
Declaration
public string[] Routing { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SourceEnabled
true
or false
to return the _source
field or not, or a list of fields to return.
Declaration
public bool? SourceEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SourceExcludes
A comma-separated list of source fields to exclude from the response.
Declaration
public string[] SourceExcludes { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SourceIncludes
A comma-separated list of source fields to include in the response.
Declaration
public string[] SourceIncludes { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceTimeout
Period each action waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Type
Default document type for items which don't provide one.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
WaitForActiveShards
The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total
number of shards in the index (number_of_replicas+1
).
Declaration
public string WaitForActiveShards { get; set; }
Property Value
Type | Description |
---|---|
string |