Uses of Class
org.apache.lucene.util.BitSet
-
Packages that use BitSet Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.misc.index Misc index tools and index support.org.apache.lucene.search Code to search indices.org.apache.lucene.search.join Support for index-time and query-time joins.org.apache.lucene.util Some utility classes.org.apache.lucene.util.hnsw Navigable Small-World graph, nominally Hierarchical but currently only has a single layer. -
-
Uses of BitSet in org.apache.lucene.index
Fields in org.apache.lucene.index declared as BitSet Modifier and Type Field Description private BitSet
DocValuesFieldUpdates.SingleValueDocValuesFieldUpdates. bitSet
private BitSet
NumericDocValuesWriter.NumericDVs. docsWithField
private BitSet
DocValuesFieldUpdates.SingleValueDocValuesFieldUpdates. hasNoValue
Constructors in org.apache.lucene.index with parameters of type BitSet Constructor Description NumericDVs(long[] values, BitSet docsWithField)
-
Uses of BitSet in org.apache.lucene.misc.index
Fields in org.apache.lucene.misc.index declared as BitSet Modifier and Type Field Description (package private) BitSet
IndexRearranger.DocSelectorFilteredCodecReader. filteredLiveDocs
Methods in org.apache.lucene.misc.index that return BitSet Modifier and Type Method Description BitSet
BinaryDocValueSelector. getFilteredLiveDocs(CodecReader reader)
BitSet
IndexRearranger.DocumentSelector. getFilteredLiveDocs(CodecReader reader)
-
Uses of BitSet in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BitSet Modifier and Type Field Description private BitSet[]
ConjunctionDISI.BitSetConjunctionDISI. bitSets
private BitSet[]
KnnVectorQuery.BitSetCollector. bitSets
-
Uses of BitSet in org.apache.lucene.search.join
Fields in org.apache.lucene.search.join declared as BitSet Modifier and Type Field Description private BitSet
ToChildBlockJoinQuery.ToChildBlockJoinScorer. parentBits
private BitSet
ToParentBlockJoinQuery.BlockJoinScorer. parentBits
private BitSet
ToParentBlockJoinQuery.ParentApproximation. parentBits
private BitSet
ToParentDocValues. parents
Methods in org.apache.lucene.search.join that return BitSet Modifier and Type Method Description BitSet
BitSetProducer. getBitSet(LeafReaderContext context)
Produce aBitSet
matching the expected documents on the given segment.BitSet
QueryBitSetProducer. getBitSet(LeafReaderContext context)
Methods in org.apache.lucene.search.join with parameters of type BitSet Modifier and Type Method Description protected static BitSetIterator
BlockJoinSelector. toIter(BitSet children)
creates an iterator for the given bitsetstatic NumericDocValues
BlockJoinSelector. wrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedNumericDocValues
, iterating over only child documents, in order to only select one value per parent among itschildren
using the configuredselection
type.static NumericDocValues
BlockJoinSelector. wrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.static SortedDocValues
BlockJoinSelector. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static SortedDocValues
BlockJoinSelector. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.static NumericDocValues
BlockJoinSelector. wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedNumericDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static NumericDocValues
BlockJoinSelector. wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.static SortedDocValues
BlockJoinSelector. wrap(SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedSetDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static Bits
BlockJoinSelector. wrap(Bits docsWithValue, BitSet parents, BitSet children)
Return aBits
instance that returns true if, and only if, any of the children of the given parent document has a value.(package private) static NumericDocValues
ToParentDocValues. wrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children)
(package private) static SortedDocValues
ToParentDocValues. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children)
Constructors in org.apache.lucene.search.join with parameters of type BitSet Constructor Description BlockJoinScorer(Weight weight, Scorer childScorer, BitSet parentBits, ScoreMode scoreMode)
NumDV(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
ParentApproximation(DocIdSetIterator childApproximation, BitSet parentBits)
SortedDVs(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
ToChildBlockJoinScorer(Weight weight, Scorer parentScorer, BitSet parentBits, boolean doScores)
ToParentDocValues(DocIdSetIterator values, BitSet parents, DocIdSetIterator children, ToParentDocValues.Accumulator collect)
-
Uses of BitSet in org.apache.lucene.util
Subclasses of BitSet in org.apache.lucene.util Modifier and Type Class Description class
FixedBitSet
BitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()
) long[], accessed with an int index, implementingBits
andDocIdSet
.class
SparseFixedBitSet
A bit set that only stores longs that have at least one bit which is set.Fields in org.apache.lucene.util declared as BitSet Modifier and Type Field Description private BitSet
BitSetIterator. bits
private BitSet
BitDocIdSet. set
Methods in org.apache.lucene.util with type parameters of type BitSet Modifier and Type Method Description private static <T extends BitSet>
TBitSetIterator. getBitSet(DocIdSetIterator iterator, java.lang.Class<? extends T> clazz)
Methods in org.apache.lucene.util that return BitSet Modifier and Type Method Description BitSet
BitDocIdSet. bits()
BitSet
BitSetIterator. getBitSet()
Return the wrappedBitSet
.static BitSet
BitSet. of(DocIdSetIterator it, int maxDoc)
Build aBitSet
from the content of the providedDocIdSetIterator
.Constructors in org.apache.lucene.util with parameters of type BitSet Constructor Description BitDocIdSet(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. -
Uses of BitSet in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as BitSet Modifier and Type Field Description private BitSet
HnswGraphSearcher. visited
Constructors in org.apache.lucene.util.hnsw with parameters of type BitSet Constructor Description HnswGraphSearcher(VectorSimilarityFunction similarityFunction, NeighborQueue candidates, BitSet visited)
Creates a new graph searcher.
-