org.apache.lucene.search
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
|
BitSet |
bits(IndexReader reader)
Returns the a BitSet representing the Boolean composition
of the filters that have been added.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString()
Prints a user-readable version of this query.
|
public BitSet bits(IndexReader reader) throws IOException
bits in class FilterIOExceptionpublic void add(FilterClause filterClause)
filterClause - A FilterClause object containing a Filter and an Occur parameterCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.