Couchbase .NET SDK | 3.8.0
Search Results for

    Show / Hide Table of Contents

    Class MatchQuery

    A query that analyzes the input text and uses that analyzed text to query the index.

    Inheritance
    object
    SearchQueryBase
    MatchQuery
    Implements
    ISearchQuery
    Inherited Members
    SearchQueryBase.Boost(double)
    SearchQueryBase.BoostValue
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.Search.Queries.Simple
    Assembly: Couchbase.NetClient.dll
    Syntax
    public sealed class MatchQuery : SearchQueryBase, ISearchQuery

    Constructors

    | Edit this page View Source

    MatchQuery(string)

    Declaration
    public MatchQuery(string match)
    Parameters
    Type Name Description
    string match

    Methods

    | Edit this page View Source

    Analyzer(string)

    Declaration
    public MatchQuery Analyzer(string analyzer)
    Parameters
    Type Name Description
    string analyzer
    Returns
    Type Description
    MatchQuery
    | Edit this page View Source

    AsReadOnly()

    Declaration
    public MatchQuery.ReadOnly AsReadOnly()
    Returns
    Type Description
    MatchQuery.ReadOnly
    | Edit this page View Source

    Deconstruct(out string, out string, out int, out int, out string, out MatchOperator?)

    Declaration
    public void Deconstruct(out string match, out string analyzer, out int prefixLength, out int fuzziness, out string field, out MatchOperator? matchOperator)
    Parameters
    Type Name Description
    string match
    string analyzer
    int prefixLength
    int fuzziness
    string field
    MatchOperator? matchOperator
    | Edit this page View Source

    Export()

    Gets a JSON object representing this query instance />

    Declaration
    public override JObject Export()
    Returns
    Type Description
    JObject
    Overrides
    SearchQueryBase.Export()
    | Edit this page View Source

    Field(string)

    Declaration
    public MatchQuery Field(string field)
    Parameters
    Type Name Description
    string field
    Returns
    Type Description
    MatchQuery
    | Edit this page View Source

    Fuzziness(int)

    Declaration
    public MatchQuery Fuzziness(int fuzziness)
    Parameters
    Type Name Description
    int fuzziness
    Returns
    Type Description
    MatchQuery
    | Edit this page View Source

    MatchOperator(MatchOperator)

    Specifies how the individual match terms should be logically concatenated.

    Declaration
    [InterfaceStability(Level.Uncommitted)]
    public MatchQuery MatchOperator(MatchOperator matchOperator)
    Parameters
    Type Name Description
    MatchOperator matchOperator

    The MatchOperator(MatchOperator) used to match terms.

    Returns
    Type Description
    MatchQuery

    A MatchQuery object for chaining.

    | Edit this page View Source

    PrefixLength(int)

    Declaration
    public MatchQuery PrefixLength(int prefixLength)
    Parameters
    Type Name Description
    int prefixLength
    Returns
    Type Description
    MatchQuery

    Implements

    ISearchQuery
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.