BitSetProducer
instead@Deprecated public abstract class BitDocIdSetFilter extends Filter implements BitSetProducer
Filter
that produces BitDocIdSet
s.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
.IOException
public final DocIdSet getDocIdSet(LeafReaderContext context, Bits acceptDocs) throws IOException
getDocIdSet
in class Filter
IOException
public final BitSet getBitSet(LeafReaderContext context) throws IOException
BitSetProducer
BitSet
matching the expected documents on the given
segment. This may return null
if no documents match.getBitSet
in interface BitSetProducer
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.