Search Results for

    Show / Hide Table of Contents

    Interface ISetProcessor

    Sets one field and associates it with the specified value. If the field already exists, its value will be replaced with the provided one.

    Inherited Members
    IProcessor.Name
    IProcessor.Description
    IProcessor.OnFailure
    IProcessor.If
    IProcessor.Tag
    IProcessor.IgnoreFailure
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ISetProcessor : IProcessor

    Properties

    | Edit this page View Source

    Field

    The field to insert, upsert, or update. Supports template snippets.

    Declaration
    [DataMember(Name = "field")]
    Field Field { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    IgnoreEmptyValue

    If true and value is a template snippet that evaluates to null or the empty string, the processor quietly exits without modifying the document. Defaults to false.

    Declaration
    [DataMember(Name = "ignore_empty_value")]
    bool? IgnoreEmptyValue { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Override

    If processor will update fields with pre-existing non-null-valued field. When set to false, such fields will not be touched. Default is true

    Declaration
    [DataMember(Name = "override")]
    bool? Override { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    Value

    The value to be set for the field. Supports template snippets.

    Declaration
    [DataMember(Name = "value")]
    object Value { get; set; }
    Property Value
    Type Description
    object

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Field
      • IgnoreEmptyValue
      • Override
      • Value
    • Extension Methods
    Back to top Generated by DocFX