Class DisjunctionQuery
The disjunction query is a compound query. The result documents must satisfy a configurable min number of child queries. By default this min is set to 1.
Inheritance
DisjunctionQuery
Assembly: Couchbase.NetClient.dll
Syntax
public class DisjunctionQuery : SearchQueryBase, ISearchQuery, IEnumerable<ISearchQuery>, IEnumerable
Constructors
|
Edit this page
View Source
DisjunctionQuery(params ISearchQuery[])
Declaration
public DisjunctionQuery(params ISearchQuery[] queries)
Parameters
Methods
|
Edit this page
View Source
AsReadOnly()
Declaration
public DisjunctionQuery.ReadOnly AsReadOnly()
Returns
|
Edit this page
View Source
Deconstruct(out int?, out IReadOnlyList<ISearchQuery>)
Declaration
public void Deconstruct(out int? min, out IReadOnlyList<ISearchQuery> queries)
Parameters
|
Edit this page
View Source
Export()
Gets a JSON object representing this query instance />
Declaration
public override JObject Export()
Returns
Overrides
|
Edit this page
View Source
GetEnumerator()
Declaration
public IEnumerator<ISearchQuery> GetEnumerator()
Returns
|
Edit this page
View Source
Min(int)
The minimum number of child queries that must be satisfied for the disjunction query.
Declaration
public DisjunctionQuery Min(int min)
Parameters
Type |
Name |
Description |
int |
min |
The minimum.
|
Returns
|
Edit this page
View Source
Or(params ISearchQuery[])
Declaration
public DisjunctionQuery Or(params ISearchQuery[] queries)
Parameters
Returns
Implements
See Also