Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    FunctionScoreFunctionBase
    ScriptScoreFunction
    Implements
    IScriptScoreFunction
    IScoreFunction
    Inherited Members
    FunctionScoreFunctionBase.Filter
    FunctionScoreFunctionBase.Weight
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class ScriptScoreFunction : FunctionScoreFunctionBase, IScriptScoreFunction, IScoreFunction

    Properties

    | Edit this page View Source

    Script

    The script to execute to calculate score

    Declaration
    public IScript Script { get; set; }
    Property Value
    Type Description
    IScript

    Implements

    IScriptScoreFunction
    IScoreFunction

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Script
    • Implements
    • Extension Methods
    Back to top Generated by DocFX