Uses of Class
org.apache.lucene.util.BitSet
Packages that use BitSet
Package
Description
Code to maintain and access indices.
Misc index tools and index support.
Code to search indices.
Support for index-time and query-time joins.
Some utility classes.
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 BitSetModifier and TypeFieldDescriptionprivate final BitSetDocValuesFieldUpdates.SingleValueDocValuesFieldUpdates.bitSetprivate final BitSetNumericDocValuesWriter.NumericDVs.docsWithFieldprivate BitSetDocValuesFieldUpdates.SingleValueDocValuesFieldUpdates.hasNoValueConstructors in org.apache.lucene.index with parameters of type BitSet -
Uses of BitSet in org.apache.lucene.misc.index
Fields in org.apache.lucene.misc.index declared as BitSetModifier and TypeFieldDescription(package private) BitSetIndexRearranger.DocSelectorFilteredCodecReader.filteredLiveDocsprivate final BitSetBPIndexReorderer.IndexReorderingTask.parentsMethods in org.apache.lucene.misc.index that return BitSetModifier and TypeMethodDescriptionBinaryDocValueSelector.getFilteredLiveDocs(CodecReader reader) IndexRearranger.DocumentSelector.getFilteredLiveDocs(CodecReader reader) Methods in org.apache.lucene.misc.index with parameters of type BitSetModifier and TypeMethodDescriptionprivate booleanBPIndexReorderer.IndexReorderingTask.shuffle(BPIndexReorderer.ForwardIndex forwardIndex, IntsRef docIDs, int midPoint, int[] leftDocFreqs, int[] rightDocFreqs, float[] biases, BitSet parents, int iter) Shuffle doc IDs across both partitions so that each partition has lower gaps between consecutive postings.Constructors in org.apache.lucene.misc.index with parameters of type BitSetModifierConstructorDescription(package private)IndexReorderingTask(IntsRef docIDs, float[] biases, CloseableThreadLocal<BPIndexReorderer.PerThreadState> threadLocal, BitSet parents, int depth) -
Uses of BitSet in org.apache.lucene.search
Fields in org.apache.lucene.search declared as BitSetModifier and TypeFieldDescriptionprivate final BitSet[]ConjunctionDISI.BitSetConjunctionDISI.bitSetsMethods in org.apache.lucene.search that return BitSetModifier and TypeMethodDescriptionprivate BitSetAbstractKnnVectorQuery.createBitSet(DocIdSetIterator iterator, Bits liveDocs, int maxDoc) -
Uses of BitSet in org.apache.lucene.search.join
Fields in org.apache.lucene.search.join declared as BitSetModifier and TypeFieldDescriptionprivate final BitSetToChildBlockJoinQuery.ToChildBlockJoinScorer.parentBitsprivate final BitSetToParentBlockJoinQuery.BlockJoinScorer.parentBitsprivate final BitSetToParentBlockJoinQuery.ParentApproximation.parentBitsprivate final BitSetDiversifyingChildrenFloatKnnVectorQuery.DiversifyingChildrenVectorScorer.parentBitSetprivate final BitSetDiversifyingNearestChildrenKnnCollector.parentBitSetprivate final BitSetToParentDocValues.parentsMethods in org.apache.lucene.search.join that return BitSetModifier and TypeMethodDescriptionBitSetProducer.getBitSet(LeafReaderContext context) Produce aBitSetmatching the expected documents on the given segment.QueryBitSetProducer.getBitSet(LeafReaderContext context) Methods in org.apache.lucene.search.join with parameters of type BitSetModifier and TypeMethodDescriptionprotected static BitSetIteratorcreates an iterator for the given bitsetstatic NumericDocValuesBlockJoinSelector.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 itschildrenusing the configuredselectiontype.static NumericDocValuesBlockJoinSelector.wrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children) Deprecated.static SortedDocValuesBlockJoinSelector.wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static SortedDocValuesBlockJoinSelector.wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children) Deprecated.static NumericDocValuesBlockJoinSelector.wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedNumericDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static NumericDocValuesBlockJoinSelector.wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, BitSet children) Deprecated.static SortedDocValuesBlockJoinSelector.wrap(SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedSetDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static BitsReturn aBitsinstance that returns true if, and only if, any of the children of the given parent document has a value.(package private) static NumericDocValuesToParentDocValues.wrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children) (package private) static SortedDocValuesToParentDocValues.wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children) Constructors in org.apache.lucene.search.join with parameters of type BitSetModifierConstructorDescriptionBlockJoinScorer(Weight weight, Scorer childScorer, BitSet parentBits, ScoreMode scoreMode) protectedDiversifyingChildrenVectorScorer(DocIdSetIterator acceptedChildrenIterator, BitSet parentBitSet, VectorScorer vectorScorer) DiversifyingNearestChildrenKnnCollector(int k, int visitLimit, BitSet parentBitSet) Create a new object for joining nearest child kNN documents with a parent bitsetprivateNumDV(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) (package private)ParentApproximation(DocIdSetIterator childApproximation, BitSet parentBits) privateSortedDVs(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) ToChildBlockJoinScorer(Weight weight, Scorer parentScorer, BitSet parentBits, boolean doScores) privateToParentDocValues(DocIdSetIterator values, BitSet parents, DocIdSetIterator children, ToParentDocValues.Accumulator collect) -
Uses of BitSet in org.apache.lucene.util
Subclasses of BitSet in org.apache.lucene.utilModifier and TypeClassDescriptionfinal classBitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()) long[], accessed with an int index, implementingBitsandDocIdSet.classA bit set that only stores longs that have at least one bit which is set.Fields in org.apache.lucene.util declared as BitSetModifier and TypeFieldDescriptionprivate final BitSetBitSetIterator.bitsprivate final BitSetBitDocIdSet.setMethods in org.apache.lucene.util with type parameters of type BitSetModifier and TypeMethodDescriptionprivate static <T extends BitSet>
TBitSetIterator.getBitSet(DocIdSetIterator iterator, Class<? extends T> clazz) Methods in org.apache.lucene.util that return BitSetModifier and TypeMethodDescriptionBitDocIdSet.bits()BitSetIterator.getBitSet()Return the wrappedBitSet.static BitSetBitSet.of(DocIdSetIterator it, int maxDoc) Build aBitSetfrom the content of the providedDocIdSetIterator.Constructors in org.apache.lucene.util with parameters of type BitSetModifierConstructorDescriptionBitDocIdSet(BitSet set) Same asBitDocIdSet(BitSet, long)but uses the set'sapproximate cardinalityas 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 BitSetModifier and TypeFieldDescriptionprivate final BitSetHnswConcurrentMergeBuilder.ConcurrentMergeWorker.initializedNodesprivate final BitSetInitializedHnswGraphBuilder.initializedNodesprivate BitSetHnswGraphSearcher.visitedMethods in org.apache.lucene.util.hnsw with parameters of type BitSetModifier and TypeMethodDescriptionstatic InitializedHnswGraphBuilderInitializedHnswGraphBuilder.fromGraph(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, HnswGraph initializerGraph, int[] newOrdMap, BitSet initializedNodes, int totalNumberOfVectors) Create a new HnswGraphBuilder that is initialized with the provided HnswGraph.protected final int[]IncrementalHnswGraphMerger.getNewOrdMapping(DocIdSetIterator mergedVectorIterator, BitSet initializedNodes) Creates a new mapping from old ordinals to new ordinals and returns the total number of vectors in the newly merged segment.Constructors in org.apache.lucene.util.hnsw with parameters of type BitSetModifierConstructorDescriptionprivateConcurrentMergeWorker(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph hnsw, BitSet initializedNodes, AtomicInteger workProgress) HnswConcurrentMergeBuilder(TaskExecutor taskExecutor, int numWorker, RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, OnHeapHnswGraph hnsw, BitSet initializedNodes) HnswGraphSearcher(NeighborQueue candidates, BitSet visited) Creates a new graph searcher.InitializedHnswGraphBuilder(RandomVectorScorerSupplier scorerSupplier, int M, int beamWidth, long seed, OnHeapHnswGraph initializedGraph, BitSet initializedNodes) privateMergeSearcher(NeighborQueue candidates, BitSet visited) privateOnHeapHnswGraphSearcher(NeighborQueue candidates, BitSet visited)