Search Results for

    Show / Hide Table of Contents

    Interface IScriptScoreQuery

    A query allowing you to modify the score of documents that are retrieved by a query. This can be useful if, for example, a score function is computationally expensive and it is sufficient to compute the score on a filtered set of documents.

    Inherited Members
    IQuery.Boost
    IQuery.Conditionless
    IQuery.IsStrict
    IQuery.IsVerbatim
    IQuery.IsWritable
    IQuery.Name
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IScriptScoreQuery : IQuery

    Properties

    | Edit this page View Source

    MinScore

    The score above which documents will be returned

    Declaration
    [DataMember(Name = "min_score")]
    double? MinScore { get; set; }
    Property Value
    Type Description
    double?
    | Edit this page View Source

    Query

    The query to execute

    Declaration
    [DataMember(Name = "query")]
    QueryContainer Query { get; set; }
    Property Value
    Type Description
    QueryContainer
    | Edit this page View Source

    Script

    The script to execute

    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
      • MinScore
      • Query
      • Script
    • Extension Methods
    Back to top Generated by DocFX