Uses of Class
org.apache.lucene.search.DocIdSetIterator
Package
Description
Lucene 9.0 file format.
Lucene 9.5 file format.
Lucene 9.9 file format.
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
Code to search indices.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.Some utility classes.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
Provides quantization methods for scaling vector values to smaller data types and possibly fewer
dimensions
-
Uses of DocIdSetIterator in org.apache.lucene.codecs.lucene90
Modifier and TypeClassDescriptionfinal class
Disk-based implementation of aDocIdSetIterator
which can return the index of the current document, i.e.Modifier and TypeMethodDescriptionstatic short
IndexedDISI.writeBitSet
(DocIdSetIterator it, IndexOutput out, byte denseRankPower) Writes the docIDs from it to out, in logical blocks, one for each 65536 docIDs in monotonically increasing gap-less order. -
Uses of DocIdSetIterator in org.apache.lucene.codecs.lucene95
Modifier and TypeClassDescriptionclass
Read the vector values from the index input.static class
Dense vector values that are stored off-heap.class
Read the vector values from the index input.static class
Dense vector values that are stored off-heap. -
Uses of DocIdSetIterator in org.apache.lucene.codecs.lucene99
Modifier and TypeClassDescriptionclass
Read the quantized vector values and their score correction values from the index input.static class
Dense vector values that are stored off-heap. -
Uses of DocIdSetIterator in org.apache.lucene.document
Modifier and TypeClassDescriptionclass
A binary representation of a range that wraps a BinaryDocValues field -
Uses of DocIdSetIterator in org.apache.lucene.index
Modifier and TypeClassDescriptionclass
A per-document numeric value.class
This class provides access to per-document floating point vector values indexed asKnnByteVectorField
.class
Delegates all methods to a wrappedBinaryDocValues
.static class
Base class for filteringPostingsEnum
implementations.class
Delegates all methods to a wrappedNumericDocValues
.class
Delegates all methods to a wrappedSortedDocValues
.class
Delegates all methods to a wrappedSortedNumericDocValues
.class
Delegates all methods to a wrappedSortedSetDocValues
.class
Delegates all methods to a wrappedFloatVectorValues
.class
This class provides access to per-document floating point vector values indexed asKnnFloatVectorField
.class
Extension ofPostingsEnum
which also provides information about upcoming impacts.static class
Implements SortedDocValues over n subs, using an OrdinalMapstatic class
Implements MultiSortedSetDocValues over n subs, using an OrdinalMapfinal class
ExposesPostingsEnum
, merged fromPostingsEnum
API of sub-segments.class
A per-document numeric value.class
Iterates through the postings.final class
ImpactsEnum
that doesn't index impacts but implements the API in a legal way.class
A per-document byte[] with presorted values.class
A list of per-document numeric values, sorted according toLong.compare(long, long)
.class
A multi-valued version ofSortedDocValues
.class
Deprecated.Modifier and TypeMethodDescriptiondefault void
PointValues.IntersectVisitor.visit
(DocIdSetIterator iterator) Similar toPointValues.IntersectVisitor.visit(int)
, but a bulk visit and implementations may have their optimizations.default void
PointValues.IntersectVisitor.visit
(DocIdSetIterator iterator, byte[] packedValue) Similar toPointValues.IntersectVisitor.visit(int, byte[])
but in this case the packedValue can have more than one docID associated to it. -
Uses of DocIdSetIterator in org.apache.lucene.search
Modifier and TypeClassDescriptionclass
ADocIdSetIterator
which is a disjunction of the approximations of the provided iterators.class
Abstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validation mechanism on an underlying DocIdSetIterator.final class
DocIdSetIterator
that skips non-competitive docs thanks to the indexed impacts.static class
Slower version of UnionPostingsEnum that delegates offsets and positions, for use by MatchesIteratorstatic class
Takes the logical union of multiple PostingsEnum iterators.Modifier and TypeFieldDescriptionprotected DocIdSetIterator
FilteredDocIdSetIterator._innerIter
final DocIdSetIterator
DisiWrapper.approximation
protected final DocIdSetIterator
TwoPhaseIterator.approximation
final DocIdSetIterator
DisiWrapper.iterator
Modifier and TypeMethodDescriptionstatic final DocIdSetIterator
DocIdSetIterator.all
(int maxDoc) ADocIdSetIterator
that matches all documents up tomaxDoc - 1
.TwoPhaseIterator.approximation()
Return an approximation.static DocIdSetIterator
TwoPhaseIterator.asDocIdSetIterator
(TwoPhaseIterator twoPhaseIterator) Return aDocIdSetIterator
view of the providedTwoPhaseIterator
.default DocIdSetIterator
LeafCollector.competitiveIterator()
Optionally returns an iterator over competitive documents.default DocIdSetIterator
LeafFieldComparator.competitiveIterator()
Returns a competitive iteratorstatic DocIdSetIterator
ConjunctionUtils.createConjunction
(List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators) Create a conjunction over the provided set of DocIdSetIterators and TwoPhaseIterators, using two-phase iterator where possible.static final DocIdSetIterator
DocIdSetIterator.empty()
An emptyDocIdSetIterator
instanceFilteredDocIdSetIterator.getDelegate()
Return the wrappedDocIdSetIterator
.static DocIdSetIterator
FieldExistsQuery.getDocValuesDocIdSetIterator
(String field, LeafReader reader) Returns aDocIdSetIterator
from the given field or null if the field doesn't exist in the reader or if the reader has no doc values for the field.static DocIdSetIterator
ConjunctionUtils.intersectIterators
(List<? extends DocIdSetIterator> iterators) Create a conjunction over the provided DocIdSetIterators.static DocIdSetIterator
ConjunctionUtils.intersectScorers
(Collection<Scorer> scorers) Create a conjunction over the providedScorer
s.ConstantScoreScorer.iterator()
abstract DocIdSetIterator
DocIdSet.iterator()
Provides aDocIdSetIterator
to access the set.final DocIdSetIterator
FilterScorer.iterator()
IndriDisjunctionScorer.iterator()
abstract DocIdSetIterator
IndriScorer.iterator()
LRUQueryCache.CacheAndCount.iterator()
abstract DocIdSetIterator
Scorer.iterator()
Return aDocIdSetIterator
over matching documents.TermScorer.iterator()
VectorScorer.iterator()
static final DocIdSetIterator
DocIdSetIterator.range
(int minDoc, int maxDoc) ADocIdSetIterator
that matches a range documents from minDocID (inclusive) to maxDocID (exclusive).Modifier and TypeMethodDescriptionstatic void
ConjunctionUtils.addIterator
(DocIdSetIterator disi, List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators) Given a DocIdSetIterator, find any sub-iterators or two-phase iterators and add them to the provided DocIdSetIterator and TwoPhaseIterator listsstatic TwoPhaseIterator
TwoPhaseIterator.unwrap
(DocIdSetIterator iterator) If the givenDocIdSetIterator
has been created withTwoPhaseIterator.asDocIdSetIterator(org.apache.lucene.search.TwoPhaseIterator)
, then this will return the wrappedTwoPhaseIterator
.Modifier and TypeMethodDescriptionstatic void
ConjunctionUtils.addIterator
(DocIdSetIterator disi, List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators) Given a DocIdSetIterator, find any sub-iterators or two-phase iterators and add them to the provided DocIdSetIterator and TwoPhaseIterator listsstatic void
ConjunctionUtils.addTwoPhaseIterator
(TwoPhaseIterator twoPhaseIter, List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators) Given a two-phase iterator, find any sub-iterators and add them to the provided DocIdSetIterator and TwoPhaseIterator listsstatic DocIdSetIterator
ConjunctionUtils.createConjunction
(List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators) Create a conjunction over the provided set of DocIdSetIterators and TwoPhaseIterators, using two-phase iterator where possible.static DocIdSetIterator
ConjunctionUtils.intersectIterators
(List<? extends DocIdSetIterator> iterators) Create a conjunction over the provided DocIdSetIterators.ModifierConstructorDescriptionConstantScoreScorer
(Weight weight, float score, ScoreMode scoreMode, DocIdSetIterator disi) Constructor based on aDocIdSetIterator
which will be used to drive iteration.FilteredDocIdSetIterator
(DocIdSetIterator innerIter) Constructor.ImpactsDISI
(DocIdSetIterator in, MaxScoreCache maxScoreCache) Sole constructor.protected
TwoPhaseIterator
(DocIdSetIterator approximation) Takes the approximation to be returned byTwoPhaseIterator.approximation
. -
Uses of DocIdSetIterator in org.apache.lucene.search.comparators
Modifier and TypeClassDescriptionclass
Docs iterator that starts iterating from a configurable minimum document -
Uses of DocIdSetIterator in org.apache.lucene.util
Modifier and TypeClassDescriptionclass
ADocIdSetIterator
which iterates over set bits in a bit set.class
ADocIdSetIterator
likeBitSetIterator
but has a doc base in onder to avoid storing previous 0s.Modifier and TypeMethodDescriptionBitDocIdSet.iterator()
NotDocIdSet.iterator()
RoaringDocIdSet.iterator()
Modifier and TypeMethodDescriptionvoid
DocIdSetBuilder.add
(DocIdSetIterator iter) Add the content of the providedDocIdSetIterator
to this builder.void
DocIdSetBuilder.BulkAdder.add
(DocIdSetIterator iterator) RoaringDocIdSet.Builder.add
(DocIdSetIterator disi) Add the content of the providedDocIdSetIterator
.void
FixedBitSet.andNot
(DocIdSetIterator iter) protected final void
BitSet.checkUnpositioned
(DocIdSetIterator iter) Assert that the current doc is -1.static FixedBitSet
BitSetIterator.getFixedBitSetOrNull
(DocIdSetIterator iterator) If the provided iterator wraps aFixedBitSet
, returns it, otherwise returns null.static SparseFixedBitSet
BitSetIterator.getSparseFixedBitSetOrNull
(DocIdSetIterator iterator) If the provided iterator wraps aSparseFixedBitSet
, returns it, otherwise returns null.static BitSet
BitSet.of
(DocIdSetIterator it, int maxDoc) Build aBitSet
from the content of the providedDocIdSetIterator
.void
BitSet.or
(DocIdSetIterator iter) Does in-place OR of the bits provided by the iterator.void
FixedBitSet.or
(DocIdSetIterator iter) void
SparseFixedBitSet.or
(DocIdSetIterator it) void
FixedBitSet.xor
(DocIdSetIterator iter) Does in-place XOR of the bits provided by the iterator. -
Uses of DocIdSetIterator in org.apache.lucene.util.hnsw
Modifier and TypeMethodDescriptionprotected HnswBuilder
ConcurrentHnswMerger.createBuilder
(DocIdSetIterator mergedVectorIterator, int maxOrd) protected HnswBuilder
IncrementalHnswGraphMerger.createBuilder
(DocIdSetIterator mergedVectorIterator, int maxOrd) Builds a new HnswGraphBuilder using the biggest graph from the merge state as a starting point.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.HnswGraphMerger.merge
(DocIdSetIterator mergedVectorIterator, InfoStream infoStream, int maxOrd) Merge and produce the on heap graphIncrementalHnswGraphMerger.merge
(DocIdSetIterator mergedVectorIterator, InfoStream infoStream, int maxOrd) -
Uses of DocIdSetIterator in org.apache.lucene.util.quantization
Modifier and TypeClassDescriptionclass
A version ofByteVectorValues
, but additionally retrieving score correction offset for Scalar quantization scores.
FloatVectorValues
instead