Interface IScriptProcessor
Allows inline and stored scripts to be executed within ingest pipelines.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IScriptProcessor : IProcessor
Properties
| Edit this page View SourceId
The stored script id to refer to
Declaration
[DataMember(Name = "id")]
string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Lang
The scripting language. Defaults to painless
Declaration
[DataMember(Name = "lang")]
string Lang { get; set; }
Property Value
Type | Description |
---|---|
string |
Params
Parameters for the script
Declaration
[DataMember(Name = "params")]
Dictionary<string, object> Params { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |
Source
An inline script to be executed
Declaration
[DataMember(Name = "source")]
string Source { get; set; }
Property Value
Type | Description |
---|---|
string |