Class ScriptProcessorDescriptor
Allows inline, stored, and file scripts to be executed within ingest pipelines.
Inheritance
ScriptProcessorDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ScriptProcessorDescriptor : ProcessorDescriptorBase<ScriptProcessorDescriptor, IScriptProcessor>, IDescriptor, IScriptProcessor, IProcessor
Properties
|
Edit this page
View Source
Name
Declaration
protected override string Name { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Id(string)
The stored script id to refer to
Declaration
public ScriptProcessorDescriptor Id(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
|
Edit this page
View Source
Lang(string)
The scripting language. Defaults to painless
Declaration
public ScriptProcessorDescriptor Lang(string lang)
Parameters
Type |
Name |
Description |
string |
lang |
|
Returns
|
Edit this page
View Source
Params(Dictionary<string, object>)
Parameters for the script
Declaration
public ScriptProcessorDescriptor Params(Dictionary<string, object> scriptParams)
Parameters
Returns
|
Edit this page
View Source
Params(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
Parameters for the script
Declaration
public ScriptProcessorDescriptor Params(Func<FluentDictionary<string, object>, FluentDictionary<string, object>> paramsSelector)
Parameters
Returns
|
Edit this page
View Source
Source(string)
An inline script to be executed
Declaration
public ScriptProcessorDescriptor Source(string source)
Parameters
Type |
Name |
Description |
string |
source |
|
Returns
Implements
Extension Methods