org.apache.lucene.search
public class TermsFilter extends Filter
| Constructor and Description |
|---|
TermsFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTerm(Term term)
Adds a term to the list of acceptable terms
|
BitSet |
bits(IndexReader reader)
Returns a BitSet with true for documents which should be permitted in
search results, and false for those that should not.
|
boolean |
equals(Object obj) |
int |
hashCode() |
public void addTerm(Term term)
term - public BitSet bits(IndexReader reader) throws IOException
Filterbits in class FilterIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.