Search Results for

    Show / Hide Table of Contents

    Interface ICombinedFieldsQuery

    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.

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

    Properties

    | 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
    [DataMember(Name = "fields")]
    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
    [DataMember(Name = "minimum_should_match")]
    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
    [DataMember(Name = "operator")]
    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
    [DataMember(Name = "query")]
    string Query { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

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