Interface IScriptScoreFunction
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.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IScriptScoreFunction : IScoreFunction
Properties
| Edit this page View SourceScript
The script to execute to calculate score
Declaration
[DataMember(Name = "script")]
IScript Script { get; set; }
Property Value
Type | Description |
---|---|
IScript |