C# Class Couchbase.Search.Queries.Compound.BooleanQuery

A combination of conjunction and disjunction queries.
Inheritance: FtsQueryBase
Show file Open project: couchbase/couchbase-net-client Class Usage Examples

Public Methods

Method Description
Export ( ) : Newtonsoft.Json.Linq.JObject
Must ( ) : BooleanQuery

Result documents must satisfy these queries.

MustNot ( ) : BooleanQuery

Result documents must not satisfy these queries.

Should ( ) : BooleanQuery

Result documents should satisfy these queries..

ShouldMin ( int min ) : BooleanQuery

If a hit satisfies at least min queries in the should be boosted by this amount.

Method Details

Export() public method

public Export ( ) : Newtonsoft.Json.Linq.JObject
return Newtonsoft.Json.Linq.JObject

Must() public method

Result documents must satisfy these queries.
public Must ( ) : BooleanQuery
return BooleanQuery

MustNot() public method

Result documents must not satisfy these queries.
public MustNot ( ) : BooleanQuery
return BooleanQuery

Should() public method

Result documents should satisfy these queries..
public Should ( ) : BooleanQuery
return BooleanQuery

ShouldMin() public method

If a hit satisfies at least min queries in the should be boosted by this amount.
public ShouldMin ( int min ) : BooleanQuery
min int The minimum to boost by - the default is 1.
return BooleanQuery