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
Filter
bits
in class Filter
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.