Interface IBoolQuery
Assembly: OpenSearch.Client.dll
Syntax
public interface IBoolQuery : IQuery
Properties
|
Edit this page
View Source
Filter
The clause (query) which is to be used as a filter (in filter context).
Declaration
[DataMember(Name = "filter")]
IEnumerable<QueryContainer> Filter { get; set; }
Property Value
|
Edit this page
View Source
Locked
Declaration
[IgnoreDataMember]
bool Locked { get; }
Property Value
|
Edit this page
View Source
MinimumShouldMatch
Specifies a minimum number of the optional BooleanClauses which must be satisfied.
Declaration
[DataMember(Name = "minimum_should_match")]
MinimumShouldMatch MinimumShouldMatch { get; set; }
Property Value
|
Edit this page
View Source
Must
The clause(s) that must appear in matching documents
Declaration
[DataMember(Name = "must")]
IEnumerable<QueryContainer> Must { get; set; }
Property Value
|
Edit this page
View Source
MustNot
The clause (query) must not appear in the matching documents.
Note that it is not possible to search on documents that only consists of a must_not clauses.
Declaration
[DataMember(Name = "must_not")]
IEnumerable<QueryContainer> MustNot { get; set; }
Property Value
|
Edit this page
View Source
Should
The clause (query) should appear in the matching document. A boolean query with no must clauses, one or more should clauses must match a
document.
The minimum number of should clauses to match can be set using MinimumShouldMatch.
Declaration
[DataMember(Name = "should")]
IEnumerable<QueryContainer> Should { get; set; }
Property Value
Methods
|
Edit this page
View Source
ShouldSerializeFilter()
Declaration
bool ShouldSerializeFilter()
Returns
|
Edit this page
View Source
ShouldSerializeMust()
Declaration
bool ShouldSerializeMust()
Returns
|
Edit this page
View Source
ShouldSerializeMustNot()
Declaration
bool ShouldSerializeMustNot()
Returns
|
Edit this page
View Source
ShouldSerializeShould()
Declaration
bool ShouldSerializeShould()
Returns
Extension Methods