Search Results for

    Show / Hide Table of Contents

    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.

    Inherited Members
    IScoreFunction.Filter
    IScoreFunction.Weight
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IScriptScoreFunction : IScoreFunction

    Properties

    | Edit this page View Source

    Script

    The script to execute to calculate score

    Declaration
    [DataMember(Name = "script")]
    IScript Script { get; set; }
    Property Value
    Type Description
    IScript

    Extension Methods

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