Class RolloverConditionsDescriptor
Conditions that must be satisfied for a new index to be created
with the rollover index API
Inheritance
RolloverConditionsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class RolloverConditionsDescriptor : DescriptorBase<RolloverConditionsDescriptor, IRolloverConditions>, IDescriptor, IRolloverConditions
Methods
|
Edit this page
View Source
MaxAge(Time)
The maximum age of the index
Declaration
public RolloverConditionsDescriptor MaxAge(Time maxAge)
Parameters
Type |
Name |
Description |
Time |
maxAge |
|
Returns
|
Edit this page
View Source
MaxDocs(long?)
The maximum number of documents
Declaration
public RolloverConditionsDescriptor MaxDocs(long? maxDocs)
Parameters
Type |
Name |
Description |
long? |
maxDocs |
|
Returns
|
Edit this page
View Source
MaxSize(string)
The maximum size of the index e.g. "5gb"
Declaration
public RolloverConditionsDescriptor MaxSize(string maxSize)
Parameters
Type |
Name |
Description |
string |
maxSize |
|
Returns
Implements
Extension Methods