Class DocIdQuery
A docId query is a query that directly matches the documents whose ID have been provided.
It can be combined within a ConjunctionQuery to restrict matches on the set of documents.
Assembly: Couchbase.NetClient.dll
Syntax
public class DocIdQuery : SearchQueryBase, ISearchQuery
Constructors
|
Edit this page
View Source
DocIdQuery(params string[])
Declaration
public DocIdQuery(params string[] docIds)
Parameters
Type |
Name |
Description |
string[] |
docIds |
|
Methods
|
Edit this page
View Source
Add(params string[])
Adds the specified document ids.
Declaration
public DocIdQuery Add(params string[] docIds)
Parameters
Type |
Name |
Description |
string[] |
docIds |
The document ids.
|
Returns
|
Edit this page
View Source
AsReadOnly()
Declaration
public DocIdQuery.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
Deconstruct(out IReadOnlyList<string>)
Declaration
public void Deconstruct(out IReadOnlyList<string> docIds)
Parameters
|
Edit this page
View Source
Export()
Gets a JSON object representing this query instance />
Declaration
public override JObject Export()
Returns
Overrides
Implements
See Also