Search Results for

    Show / Hide Table of Contents

    Class ScriptScoreQuery

    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.

    Inheritance
    object
    QueryBase
    ScriptScoreQuery
    Implements
    IScriptScoreQuery
    IQuery
    Inherited Members
    QueryBase.Boost
    QueryBase.IsStrict
    QueryBase.IsVerbatim
    QueryBase.IsWritable
    QueryBase.Name
    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 ScriptScoreQuery : QueryBase, IScriptScoreQuery, IQuery

    Properties

    | Edit this page View Source

    Conditionless

    Declaration
    protected override bool Conditionless { get; }
    Property Value
    Type Description
    bool
    Overrides
    QueryBase.Conditionless
    | Edit this page View Source

    MinScore

    The score above which documents will be returned

    Declaration
    public double? MinScore { get; set; }
    Property Value
    Type Description
    double?
    | Edit this page View Source

    Query

    The query to execute

    Declaration
    public QueryContainer Query { get; set; }
    Property Value
    Type Description
    QueryContainer
    | Edit this page View Source

    Script

    The script to execute

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

    Implements

    IScriptScoreQuery
    IQuery

    Extension Methods

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