Class ScriptScoreFunction
The script score function allows you to wrap another query and customize the scoring of it optionally with a computation derived from other numeric field values in the doc using a script expression.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ScriptScoreFunction : FunctionScoreFunctionBase, IScriptScoreFunction, IScoreFunction
Properties
| Edit this page View SourceScript
The script to execute to calculate score
Declaration
public IScript Script { get; set; }
Property Value
Type | Description |
---|---|
IScript |