Class AddIndexBlockDescriptor
A request to the indices add block API
Inheritance
AddIndexBlockDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class AddIndexBlockDescriptor : RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>, IDescriptor, IAddIndexBlockRequest, IRequest<AddIndexBlockRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
AddIndexBlockDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected AddIndexBlockDescriptor()
|
Edit this page
View Source
AddIndexBlockDescriptor(Indices, IndexBlock)
Declaration
public AddIndexBlockDescriptor(Indices index, IndexBlock block)
Parameters
Type |
Name |
Description |
Indices |
index |
this parameter is required
|
IndexBlock |
block |
this parameter is required
|
Methods
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public AddIndexBlockDescriptor AllIndices()
Returns
|
Edit this page
View Source
AllowNoIndices(bool?)
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all
string or when no indices have been specified).
Declaration
public AddIndexBlockDescriptor AllowNoIndices(bool? allownoindices = true)
Parameters
Type |
Name |
Description |
bool? |
allownoindices |
|
Returns
|
Edit this page
View Source
ClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public AddIndexBlockDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type |
Name |
Description |
Time |
clustermanagertimeout |
|
Returns
|
Edit this page
View Source
ExpandWildcards(ExpandWildcards?)
Whether to expand wildcard expression to concrete indices that are open, closed or both.
Declaration
public AddIndexBlockDescriptor ExpandWildcards(ExpandWildcards? expandwildcards)
Parameters
Returns
|
Edit this page
View Source
IgnoreUnavailable(bool?)
Whether specified concrete indices should be ignored when unavailable (missing or closed).
Declaration
public AddIndexBlockDescriptor IgnoreUnavailable(bool? ignoreunavailable = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreunavailable |
|
Returns
|
Edit this page
View Source
Index(Indices)
A comma separated list of indices to add a block to.
Declaration
public AddIndexBlockDescriptor Index(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
|
Returns
|
Edit this page
View Source
Index<TOther>()
a shortcut into calling Index(typeof(TOther))
Declaration
public AddIndexBlockDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
MasterTimeout(Time)
Specify timeout for connection to master.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use 'cluster_manager_timeout' instead.")]
public AddIndexBlockDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type |
Name |
Description |
Time |
mastertimeout |
|
Returns
|
Edit this page
View Source
Timeout(Time)
Explicit operation timeout.
Declaration
public AddIndexBlockDescriptor Timeout(Time timeout)
Parameters
Type |
Name |
Description |
Time |
timeout |
|
Returns
Implements
Extension Methods