public class TermsFilter
extends org.apache.lucene.search.Filter
| Constructor and Description |
|---|
TermsFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTerm(org.apache.lucene.index.Term term)
Adds a term to the list of acceptable terms
|
boolean |
equals(Object obj) |
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.IndexReader reader) |
int |
hashCode() |
public void addTerm(org.apache.lucene.index.Term term)
term - public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
throws IOException
getDocIdSet in class org.apache.lucene.search.FilterIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.