Class SoftDeleteSettingsDescriptor
Inheritance
SoftDeleteSettingsDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class SoftDeleteSettingsDescriptor : DescriptorBase<SoftDeleteSettingsDescriptor, ISoftDeleteSettings>, IDescriptor, ISoftDeleteSettings
Methods
| Edit this page View SourceRetention(Func<SoftDeleteRetentionSettingsDescriptor, ISoftDeleteRetentionSettings>)
Configure the retention of soft deletes on the index
Declaration
public SoftDeleteSettingsDescriptor Retention(Func<SoftDeleteRetentionSettingsDescriptor, ISoftDeleteRetentionSettings> selector)
Parameters
Type | Name | Description |
---|---|---|
Func<SoftDeleteRetentionSettingsDescriptor, ISoftDeleteRetentionSettings> | selector |
Returns
Type | Description |
---|---|
SoftDeleteSettingsDescriptor |