Search Results for

    Show / Hide Table of Contents

    Class CombinedFieldsQuery

    The combined_fields query supports searching multiple text fields as if their contents had been indexed into one combined field. The query analyzes the provided text before performing a search, and it scores documents using a term-centric approach that treats the matched fields as a single field.

    All queried fields must have the same search analyzer. Only text fields are supported.

    Inheritance
    object
    QueryBase
    CombinedFieldsQuery
    Implements
    ICombinedFieldsQuery
    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 CombinedFieldsQuery : QueryBase, ICombinedFieldsQuery, 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

    Fields

    The list of fields to search. Field wildcard patterns are allowed. Only text fields are supported, and they must all share the same search analyzer.

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

    MinimumShouldMatch

    A value controlling how many "should" clauses in the resulting boolean query should match. It can be an absolute value, a percentage or a combination of both.

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

    Operator

    The operator used to combine the analyzed terms of the query value. The default operator is Or.

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

    Query

    The text to search for in the provided Fields. The combined_fields query analyzes the provided text before performing a search.

    Declaration
    public string Query { get; set; }
    Property Value
    Type Description
    string

    Implements

    ICombinedFieldsQuery
    IQuery

    Extension Methods

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