Class ScriptDescriptor
A script to execute to provide custom computation
Inheritance
ScriptDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ScriptDescriptor : DescriptorBase<ScriptDescriptor, IDescriptor>, IDescriptor
Methods
|
Edit this page
View Source
Id(string)
A script that has been indexed in OpenSearch with the specified id
Declaration
public IndexedScriptDescriptor Id(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
|
Edit this page
View Source
Source(string)
An inline script to execute
Declaration
public InlineScriptDescriptor Source(string script)
Parameters
Type |
Name |
Description |
string |
script |
|
Returns
Implements
Extension Methods