Uses of Class
org.apache.lucene.util.BitSet
-
Uses of BitSet in org.apache.lucene.util
Modifier and TypeClassDescriptionfinal class
BitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.class
A bit set that only stores longs that have at least one bit which is set.Modifier and TypeMethodDescriptionBitDocIdSet.bits()
BitSetIterator.getBitSet()
Return the wrappedBitSet
.static BitSet
BitSet.of
(DocIdSetIterator it, int maxDoc) Build aBitSet
from the content of the providedDocIdSetIterator
.ModifierConstructorDescriptionBitDocIdSet
(BitSet set) Same asBitDocIdSet(BitSet, long)
but uses the set'sapproximate cardinality
as a cost.BitDocIdSet
(BitSet set, long cost) BitSetIterator
(BitSet bits, long cost) Sole constructor.