Uses of Class
org.apache.lucene.util.FixedBitSet
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Code to maintain and access indices.
Some utility classes.
Block KD-tree, implementing the generic spatial data structure described in this paper.
-
Uses of FixedBitSet in org.apache.lucene.codecs
Modifier and TypeMethodDescriptionabstract BlockTermState
PostingsWriterBase.writeTerm
(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) Write all postings for one term; use the providedTermsEnum
to pull aPostingsEnum
.final BlockTermState
PushPostingsWriterBase.writeTerm
(BytesRef term, TermsEnum termsEnum, FixedBitSet docsSeen, NormsProducer norms) -
Uses of FixedBitSet in org.apache.lucene.index
Modifier and TypeFieldDescriptionSegmentWriteState.liveDocs
FixedBitSet
recording live documents; this is only set if there is one or more deleted documents. -
Uses of FixedBitSet in org.apache.lucene.util
Modifier and TypeMethodDescriptionFixedBitSet.clone()
static FixedBitSet
Make a copy of the given bits.static FixedBitSet
FixedBitSet.ensureCapacity
(FixedBitSet bits, int numBits) If the givenFixedBitSet
is large enough to holdnumBits+1
, returns the given bits, otherwise returns a newFixedBitSet
which can hold the requested number of bits.DocBaseBitSetIterator.getBitSet()
Get theFixedBitSet
.static FixedBitSet
BitSetIterator.getFixedBitSetOrNull
(DocIdSetIterator iterator) If the provided iterator wraps aFixedBitSet
, returns it, otherwise returns null.Modifier and TypeMethodDescriptionvoid
FixedBitSet.and
(FixedBitSet other) this = this AND othervoid
FixedBitSet.andNot
(FixedBitSet other) this = this AND NOT otherstatic long
FixedBitSet.andNotCount
(FixedBitSet a, FixedBitSet b) Returns the popcount or cardinality of "a and not b" or "intersection(a, not(b))".static FixedBitSet
FixedBitSet.ensureCapacity
(FixedBitSet bits, int numBits) If the givenFixedBitSet
is large enough to holdnumBits+1
, returns the given bits, otherwise returns a newFixedBitSet
which can hold the requested number of bits.static long
FixedBitSet.intersectionCount
(FixedBitSet a, FixedBitSet b) Returns the popcount or cardinality of the intersection of the two sets.boolean
FixedBitSet.intersects
(FixedBitSet other) returns true if the sets have any elements in commonvoid
FixedBitSet.or
(FixedBitSet other) this = this OR otherstatic long
FixedBitSet.unionCount
(FixedBitSet a, FixedBitSet b) Returns the popcount or cardinality of the union of the two sets.void
FixedBitSet.xor
(FixedBitSet other) this = this XOR other -
Uses of FixedBitSet in org.apache.lucene.util.bkd