Class ForceMergeDescriptor
Descriptor for ForceMerge
Inheritance
ForceMergeDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ForceMergeDescriptor : RequestDescriptorBase<ForceMergeDescriptor, ForceMergeRequestParameters, IForceMergeRequest>, IDescriptor, IForceMergeRequest, IRequest<ForceMergeRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
ForceMergeDescriptor()
Declaration
public ForceMergeDescriptor()
|
Edit this page
View Source
ForceMergeDescriptor(Indices)
Declaration
public ForceMergeDescriptor(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
Methods
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public ForceMergeDescriptor 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 ForceMergeDescriptor 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 ForceMergeDescriptor ExpandWildcards(ExpandWildcards? expandwildcards)
Parameters
Returns
|
Edit this page
View Source
Flush(bool?)
Specify whether the index should be flushed after performing the operation (default: true)
Declaration
public ForceMergeDescriptor Flush(bool? flush = true)
Parameters
Type |
Name |
Description |
bool? |
flush |
|
Returns
|
Edit this page
View Source
IgnoreUnavailable(bool?)
Whether specified concrete indices should be ignored when unavailable (missing or closed)
Declaration
public ForceMergeDescriptor 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 the special string _all
or Indices.All to perform the operation on all indices
Declaration
public ForceMergeDescriptor 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 ForceMergeDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
MaxNumSegments(long?)
The number of segments the index should be merged into (default: dynamic)
Declaration
public ForceMergeDescriptor MaxNumSegments(long? maxnumsegments)
Parameters
Type |
Name |
Description |
long? |
maxnumsegments |
|
Returns
|
Edit this page
View Source
OnlyExpungeDeletes(bool?)
Specify whether the operation should only expunge deleted documents
Declaration
public ForceMergeDescriptor OnlyExpungeDeletes(bool? onlyexpungedeletes = true)
Parameters
Type |
Name |
Description |
bool? |
onlyexpungedeletes |
|
Returns
Implements
Extension Methods