Couchbase .NET SDK | 3.8.0
Search Results for

    Show / Hide Table of Contents

    Class QueryStringQuery

    The query string query allows humans to describe complex queries using a simple syntax.

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

    Constructors

    | Edit this page View Source

    QueryStringQuery(string)

    Initializes a new instance of the QueryStringQuery class.

    Declaration
    public QueryStringQuery(string query)
    Parameters
    Type Name Description
    string query

    The query string to be analyzed and used against. The query string is required.

    Exceptions
    Type Condition
    ArgumentNullException

    query

    Methods

    | Edit this page View Source

    AsReadOnly()

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

    Deconstruct(out string)

    Declaration
    public void Deconstruct(out string query)
    Parameters
    Type Name Description
    string query
    | 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()

    Implements

    ISearchQuery

    See Also

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