Search Results for

    Show / Hide Table of Contents

    Interface ITermsSetQuery

    Returns any documents that match with at least one or more of the provided terms. The terms are not analyzed and thus must match exactly. The number of terms that must match varies per document and is either controlled by a minimum should match field or computed per document in a minimum should match script.

    Inherited Members
    IFieldNameQuery.Field
    IQuery.Boost
    IQuery.Conditionless
    IQuery.IsStrict
    IQuery.IsVerbatim
    IQuery.IsWritable
    IQuery.Name
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ITermsSetQuery : IFieldNameQuery, IQuery

    Properties

    | Edit this page View Source

    MinimumShouldMatchField

    A field containing the number of required terms that must match

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

    MinimumShouldMatchScript

    A script to control how many terms are required to match

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

    Terms

    The required terms to match

    Declaration
    [DataMember(Name = "terms")]
    IEnumerable<object> Terms { get; set; }
    Property Value
    Type Description
    IEnumerable<object>

    Extension Methods

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