Search Results for

    Show / Hide Table of Contents

    Interface IBoolQuery

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

    Properties

    | Edit this page View Source

    Filter

    The clause (query) which is to be used as a filter (in filter context).

    Declaration
    [DataMember(Name = "filter")]
    IEnumerable<QueryContainer> Filter { get; set; }
    Property Value
    Type Description
    IEnumerable<QueryContainer>
    | Edit this page View Source

    Locked

    Declaration
    [IgnoreDataMember]
    bool Locked { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MinimumShouldMatch

    Specifies a minimum number of the optional BooleanClauses which must be satisfied.

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

    Must

    The clause(s) that must appear in matching documents

    Declaration
    [DataMember(Name = "must")]
    IEnumerable<QueryContainer> Must { get; set; }
    Property Value
    Type Description
    IEnumerable<QueryContainer>
    | Edit this page View Source

    MustNot

    The clause (query) must not appear in the matching documents. Note that it is not possible to search on documents that only consists of a must_not clauses.

    Declaration
    [DataMember(Name = "must_not")]
    IEnumerable<QueryContainer> MustNot { get; set; }
    Property Value
    Type Description
    IEnumerable<QueryContainer>
    | Edit this page View Source

    Should

    The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a document. The minimum number of should clauses to match can be set using MinimumShouldMatch.

    Declaration
    [DataMember(Name = "should")]
    IEnumerable<QueryContainer> Should { get; set; }
    Property Value
    Type Description
    IEnumerable<QueryContainer>

    Methods

    | Edit this page View Source

    ShouldSerializeFilter()

    Declaration
    bool ShouldSerializeFilter()
    Returns
    Type Description
    bool
    | Edit this page View Source

    ShouldSerializeMust()

    Declaration
    bool ShouldSerializeMust()
    Returns
    Type Description
    bool
    | Edit this page View Source

    ShouldSerializeMustNot()

    Declaration
    bool ShouldSerializeMustNot()
    Returns
    Type Description
    bool
    | Edit this page View Source

    ShouldSerializeShould()

    Declaration
    bool ShouldSerializeShould()
    Returns
    Type Description
    bool

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Filter
      • Locked
      • MinimumShouldMatch
      • Must
      • MustNot
      • Should
    • Methods
      • ShouldSerializeFilter()
      • ShouldSerializeMust()
      • ShouldSerializeMustNot()
      • ShouldSerializeShould()
    • Extension Methods
    Back to top Generated by DocFX