BitSetProducer instead@Deprecated public abstract class BitDocIdSetFilter extends Filter implements BitSetProducer
Filter that produces BitDocIdSets.| Modifier | Constructor and Description |
|---|---|
protected |
BitDocIdSetFilter()
Deprecated.
Sole constructor, typically called from sub-classes.
|
| Modifier and Type | Method and Description |
|---|---|
BitSet |
getBitSet(LeafReaderContext context)
Deprecated.
Produce a
BitSet matching the expected documents on the given
segment. |
abstract BitDocIdSet |
getDocIdSet(LeafReaderContext context)
Deprecated.
Same as
getDocIdSet(LeafReaderContext, Bits) but does not take
acceptDocs into account and guarantees to return a BitDocIdSet. |
DocIdSet |
getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
|
protected BitDocIdSetFilter()
public abstract BitDocIdSet getDocIdSet(LeafReaderContext context) throws IOException
getDocIdSet(LeafReaderContext, Bits) but does not take
acceptDocs into account and guarantees to return a BitDocIdSet.IOExceptionpublic final DocIdSet getDocIdSet(LeafReaderContext context, Bits acceptDocs) throws IOException
getDocIdSet in class FilterIOExceptionpublic final BitSet getBitSet(LeafReaderContext context) throws IOException
BitSetProducerBitSet matching the expected documents on the given
segment. This may return null if no documents match.getBitSet in interface BitSetProducerIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.