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) |
boolean |
equals(Object obj) |
DocIdSet |
getDocIdSet(IndexReader reader) |
int |
hashCode() |
public void addTerm(Term term)
term
- public BitSet bits(IndexReader reader) throws IOException
bits
in class Filter
IOException
public DocIdSet getDocIdSet(IndexReader reader) throws IOException
getDocIdSet
in class Filter
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.