Class RemoveProcessorDescriptor<T>
Removes existing fields. If one field doesn't exist, an exception will be thrown.
Inheritance
RemoveProcessorDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class RemoveProcessorDescriptor<T> : ProcessorDescriptorBase<RemoveProcessorDescriptor<T>, IRemoveProcessor>, IDescriptor, IRemoveProcessor, IProcessor where T : class
Type Parameters
Properties
|
Edit this page
View Source
Name
Declaration
protected override string Name { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Field(Fields)
fields to be removed. Supports template snippets.
Declaration
public RemoveProcessorDescriptor<T> Field(Fields fields)
Parameters
Type |
Name |
Description |
Fields |
fields |
|
Returns
|
Edit this page
View Source
Field(Func<FieldsDescriptor<T>, IPromise<Fields>>)
fields to be removed. Supports template snippets.
Declaration
public RemoveProcessorDescriptor<T> Field(Func<FieldsDescriptor<T>, IPromise<Fields>> selector)
Parameters
Returns
|
Edit this page
View Source
IgnoreMissing(bool?)
If true
and Field does not exist or is null,
the processor quietly exits without modifying the document. Default is false
Declaration
public RemoveProcessorDescriptor<T> IgnoreMissing(bool? ignoreMissing = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreMissing |
|
Returns
Implements
Extension Methods