public class BooleanFilter extends Filter
| Constructor and Description |
|---|
BooleanFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FilterClause filterClause)
Adds a new FilterClause to the Boolean Filter container
|
boolean |
equals(Object obj) |
protected DocIdSet |
finalResult(OpenBitSetDISI result,
int maxDocs)
Provide a SortedVIntList when it is definitely smaller than an OpenBitSet
|
DocIdSet |
getDocIdSet(IndexReader reader)
Returns the a DocIdSetIterator representing the Boolean composition
of the filters that have been added.
|
int |
hashCode() |
String |
toString()
Prints a user-readable version of this query.
|
public DocIdSet getDocIdSet(IndexReader reader) throws IOException
getDocIdSet in class FilterIOExceptionprotected DocIdSet finalResult(OpenBitSetDISI result, int maxDocs)
public void add(FilterClause filterClause)
filterClause - A FilterClause object containing a Filter and an Occur parameterCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.