Search Results for

    Show / Hide Table of Contents

    Class ScriptProcessor

    Allows inline, stored, and file scripts to be executed within ingest pipelines.

    Inheritance
    object
    ProcessorBase
    ScriptProcessor
    Implements
    IScriptProcessor
    IProcessor
    Inherited Members
    ProcessorBase.If
    ProcessorBase.Tag
    ProcessorBase.IgnoreFailure
    ProcessorBase.OnFailure
    ProcessorBase.Description
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class ScriptProcessor : ProcessorBase, IScriptProcessor, IProcessor

    Properties

    | Edit this page View Source

    Id

    The stored script id to refer to

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Lang

    The scripting language. Defaults to painless

    Declaration
    public string Lang { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    string
    Overrides
    ProcessorBase.Name
    | Edit this page View Source

    Params

    Parameters for the script

    Declaration
    public Dictionary<string, object> Params { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>
    | Edit this page View Source

    Source

    An inline script to be executed

    Declaration
    public string Source { get; set; }
    Property Value
    Type Description
    string

    Implements

    IScriptProcessor
    IProcessor

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Id
      • Lang
      • Name
      • Params
      • Source
    • Implements
    • Extension Methods
    Back to top Generated by DocFX