Class QueryStringQuery
The query string query allows humans to describe complex queries using a simple syntax.
Implements
Inherited Members
Namespace: Couchbase.Search.Queries.Simple
Assembly: Couchbase.NetClient.dll
Syntax
public class QueryStringQuery : SearchQueryBase, ISearchQuery
Constructors
| Edit this page View SourceQueryStringQuery(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 SourceAsReadOnly()
Declaration
public QueryStringQuery.ReadOnly AsReadOnly()
Returns
Type | Description |
---|---|
QueryStringQuery.ReadOnly |
Deconstruct(out string)
Declaration
public void Deconstruct(out string query)
Parameters
Type | Name | Description |
---|---|---|
string | query |
Export()
Gets a JSON object representing this query instance />
Declaration
public override JObject Export()
Returns
Type | Description |
---|---|
JObject |