Class BooleanFilter
A container Filter that allows Boolean composition of Filters. Filters are allocated into one of three logical constructs; SHOULD, MUST NOT, MUST The results Filter BitSet is constructed as follows: SHOULD Filters are OR'd together The resulting Filter is NOT'd with the NOT Filters The resulting Filter is AND'd with the MUST Filters
Inherited Members
Assembly: DistributedLucene.Net.Queries.dll
Syntax
public class BooleanFilter : Filter, IEnumerable<FilterClause>
Properties
Name | Description |
---|---|
Clauses | Gets the list of clauses |
Methods
Name | Description |
---|---|
Add(FilterClause) | Adds a new FilterClause to the Boolean Filter container |
Add(Filter, Occur) | |
Equals(Object) | |
GetDocIdSet(AtomicReaderContext, IBits) | Returns the a DocIdSetIterator representing the Boolean composition of the filters that have been added. |
GetEnumerator() | Returns an iterator on the clauses in this query. It implements the
|
GetHashCode() | |
ToString() | Prints a user-readable version of this Filter. |