Class TypeExistsDescriptor
Descriptor for TypeExists
<p>https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/</p>
Inheritance
TypeExistsDescriptor
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class TypeExistsDescriptor : RequestDescriptorBase<TypeExistsDescriptor, TypeExistsRequestParameters, ITypeExistsRequest>, IDescriptor, ITypeExistsRequest, IRequest<TypeExistsRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
TypeExistsDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected TypeExistsDescriptor()
|
Edit this page
View Source
TypeExistsDescriptor(Indices, Names)
Declaration
public TypeExistsDescriptor(Indices index, Names type)
Parameters
| Type |
Name |
Description |
| Indices |
index |
this parameter is required
|
| Names |
type |
this parameter is required
|
Methods
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public TypeExistsDescriptor 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 TypeExistsDescriptor AllowNoIndices(bool? allownoindices = true)
Parameters
| Type |
Name |
Description |
| bool? |
allownoindices |
|
Returns
|
Edit this page
View Source
ExpandWildcards(ExpandWildcards?)
Whether to expand wildcard expression to concrete indices that are open, closed or both.
Declaration
public TypeExistsDescriptor 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 TypeExistsDescriptor IgnoreUnavailable(bool? ignoreunavailable = true)
Parameters
| Type |
Name |
Description |
| bool? |
ignoreunavailable |
|
Returns
|
Edit this page
View Source
Index(Indices)
A comma-separated list of index names; use _all to check the types across all indices
Declaration
public TypeExistsDescriptor 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 TypeExistsDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
Local(bool?)
Return local information, do not retrieve the state from cluster_manager node (default: false)
Declaration
public TypeExistsDescriptor Local(bool? local = true)
Parameters
| Type |
Name |
Description |
| bool? |
local |
|
Returns
Implements
Extension Methods