public final class TermFilter extends Filter
Constructor and Description |
---|
TermFilter(Term term) |
public TermFilter(Term term)
term
- The term documents need to have in order to be a match for this filter.public Term getTerm()
public DocIdSet getDocIdSet(LeafReaderContext context, Bits acceptDocs) throws IOException
getDocIdSet
in class Filter
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.