Uses of Class
org.apache.lucene.search.DocIdSetIterator
-
Packages that use DocIdSetIterator Package Description org.apache.lucene.codecs.lucene90 Lucene 9.0 file format.org.apache.lucene.codecs.lucene95 Lucene 9.5 file format.org.apache.lucene.codecs.lucene99 Lucene 9.9 file format.org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.comparators Comparators, used to compare hits so as to determine their sort order when collecting the top results withTopFieldCollector.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.org.apache.lucene.util.quantization Provides quantization methods for scaling vector values to smaller data types and possibly fewer dimensions -
-
Uses of DocIdSetIterator in org.apache.lucene.codecs.lucene90
Subclasses of DocIdSetIterator in org.apache.lucene.codecs.lucene90 Modifier and Type Class Description classIndexedDISIDisk-based implementation of aDocIdSetIteratorwhich can return the index of the current document, i.e.Methods in org.apache.lucene.codecs.lucene90 with parameters of type DocIdSetIterator Modifier and Type Method Description static shortIndexedDISI. 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
Subclasses of DocIdSetIterator in org.apache.lucene.codecs.lucene95 Modifier and Type Class Description classOffHeapByteVectorValuesRead the vector values from the index input.static classOffHeapByteVectorValues.DenseOffHeapVectorValuesDense vector values that are stored off-heap.classOffHeapFloatVectorValuesRead the vector values from the index input.static classOffHeapFloatVectorValues.DenseOffHeapVectorValuesDense vector values that are stored off-heap. -
Uses of DocIdSetIterator in org.apache.lucene.codecs.lucene99
Subclasses of DocIdSetIterator in org.apache.lucene.codecs.lucene99 Modifier and Type Class Description classOffHeapQuantizedByteVectorValuesRead the quantized vector values and their score correction values from the index input.static classOffHeapQuantizedByteVectorValues.DenseOffHeapVectorValuesDense vector values that are stored off-heap. -
Uses of DocIdSetIterator in org.apache.lucene.document
Subclasses of DocIdSetIterator in org.apache.lucene.document Modifier and Type Class Description classBinaryRangeDocValuesA binary representation of a range that wraps a BinaryDocValues field -
Uses of DocIdSetIterator in org.apache.lucene.index
Subclasses of DocIdSetIterator in org.apache.lucene.index Modifier and Type Class Description classBinaryDocValuesA per-document numeric value.classByteVectorValuesThis class provides access to per-document floating point vector values indexed asKnnByteVectorField.classFilterBinaryDocValuesDelegates all methods to a wrappedBinaryDocValues.static classFilterLeafReader.FilterPostingsEnumBase class for filteringPostingsEnumimplementations.classFilterNumericDocValuesDelegates all methods to a wrappedNumericDocValues.classFilterSortedDocValuesDelegates all methods to a wrappedSortedDocValues.classFilterSortedNumericDocValuesDelegates all methods to a wrappedSortedNumericDocValues.classFilterSortedSetDocValuesDelegates all methods to a wrappedSortedSetDocValues.classFilterVectorValuesDelegates all methods to a wrappedFloatVectorValues.classFloatVectorValuesThis class provides access to per-document floating point vector values indexed asKnnFloatVectorField.classImpactsEnumExtension ofPostingsEnumwhich also provides information about upcoming impacts.static classMultiDocValues.MultiSortedDocValuesImplements SortedDocValues over n subs, using an OrdinalMapstatic classMultiDocValues.MultiSortedSetDocValuesImplements MultiSortedSetDocValues over n subs, using an OrdinalMapclassMultiPostingsEnumExposesPostingsEnum, merged fromPostingsEnumAPI of sub-segments.classNumericDocValuesA per-document numeric value.classPostingsEnumIterates through the postings.classSlowImpactsEnumImpactsEnumthat doesn't index impacts but implements the API in a legal way.classSortedDocValuesA per-document byte[] with presorted values.classSortedNumericDocValuesA list of per-document numeric values, sorted according toLong.compare(long, long).classSortedSetDocValuesA multi-valued version ofSortedDocValues.classVectorValuesDeprecated.useFloatVectorValuesinsteadMethods in org.apache.lucene.index that return DocIdSetIterator Modifier and Type Method Description DocIdSetIteratorDocsWithFieldSet. iterator()Methods in org.apache.lucene.index with parameters of type DocIdSetIterator Modifier and Type Method Description default voidPointValues.IntersectVisitor. visit(DocIdSetIterator iterator)Similar toPointValues.IntersectVisitor.visit(int), but a bulk visit and implementations may have their optimizations.default voidPointValues.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
Subclasses of DocIdSetIterator in org.apache.lucene.search Modifier and Type Class Description classDisjunctionDISIApproximationADocIdSetIteratorwhich is a disjunction of the approximations of the provided iterators.classFilteredDocIdSetIteratorAbstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validation mechanism on an underlying DocIdSetIterator.classImpactsDISIDocIdSetIteratorthat skips non-competitive docs thanks to the indexed impacts.static classMultiPhraseQuery.UnionFullPostingsEnumSlower version of UnionPostingsEnum that delegates offsets and positions, for use by MatchesIteratorstatic classMultiPhraseQuery.UnionPostingsEnumTakes the logical union of multiple PostingsEnum iterators.Fields in org.apache.lucene.search declared as DocIdSetIterator Modifier and Type Field Description protected DocIdSetIteratorFilteredDocIdSetIterator. _innerIterDocIdSetIteratorDisiWrapper. approximationprotected DocIdSetIteratorTwoPhaseIterator. approximationDocIdSetIteratorDisiWrapper. iteratorMethods in org.apache.lucene.search that return DocIdSetIterator Modifier and Type Method Description static DocIdSetIteratorDocIdSetIterator. all(int maxDoc)ADocIdSetIteratorthat matches all documents up tomaxDoc - 1.DocIdSetIteratorTwoPhaseIterator. approximation()Return an approximation.static DocIdSetIteratorTwoPhaseIterator. asDocIdSetIterator(TwoPhaseIterator twoPhaseIterator)Return aDocIdSetIteratorview of the providedTwoPhaseIterator.default DocIdSetIteratorLeafCollector. competitiveIterator()Optionally returns an iterator over competitive documents.default DocIdSetIteratorLeafFieldComparator. competitiveIterator()Returns a competitive iteratorstatic DocIdSetIteratorConjunctionUtils. 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 DocIdSetIteratorDocIdSetIterator. empty()An emptyDocIdSetIteratorinstanceDocIdSetIteratorFilteredDocIdSetIterator. getDelegate()Return the wrappedDocIdSetIterator.static DocIdSetIteratorFieldExistsQuery. getDocValuesDocIdSetIterator(String field, LeafReader reader)Returns aDocIdSetIteratorfrom 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 DocIdSetIteratorConjunctionUtils. intersectIterators(List<? extends DocIdSetIterator> iterators)Create a conjunction over the provided DocIdSetIterators.static DocIdSetIteratorConjunctionUtils. intersectScorers(Collection<Scorer> scorers)Create a conjunction over the providedScorers.DocIdSetIteratorConstantScoreScorer. iterator()abstract DocIdSetIteratorDocIdSet. iterator()Provides aDocIdSetIteratorto access the set.DocIdSetIteratorFilterScorer. iterator()DocIdSetIteratorIndriDisjunctionScorer. iterator()abstract DocIdSetIteratorIndriScorer. iterator()DocIdSetIteratorLRUQueryCache.CacheAndCount. iterator()abstract DocIdSetIteratorScorer. iterator()Return aDocIdSetIteratorover matching documents.DocIdSetIteratorTermScorer. iterator()DocIdSetIteratorVectorScorer. iterator()static DocIdSetIteratorDocIdSetIterator. range(int minDoc, int maxDoc)ADocIdSetIteratorthat matches a range documents from minDocID (inclusive) to maxDocID (exclusive).Methods in org.apache.lucene.search with parameters of type DocIdSetIterator Modifier and Type Method Description static voidConjunctionUtils. 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 TwoPhaseIteratorTwoPhaseIterator. unwrap(DocIdSetIterator iterator)If the givenDocIdSetIteratorhas been created withTwoPhaseIterator.asDocIdSetIterator(org.apache.lucene.search.TwoPhaseIterator), then this will return the wrappedTwoPhaseIterator.Method parameters in org.apache.lucene.search with type arguments of type DocIdSetIterator Modifier and Type Method Description static voidConjunctionUtils. 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 voidConjunctionUtils. 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 DocIdSetIteratorConjunctionUtils. 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 DocIdSetIteratorConjunctionUtils. intersectIterators(List<? extends DocIdSetIterator> iterators)Create a conjunction over the provided DocIdSetIterators.Constructors in org.apache.lucene.search with parameters of type DocIdSetIterator Constructor Description ConstantScoreScorer(Weight weight, float score, ScoreMode scoreMode, DocIdSetIterator disi)Constructor based on aDocIdSetIteratorwhich will be used to drive iteration.FilteredDocIdSetIterator(DocIdSetIterator innerIter)Constructor.ImpactsDISI(DocIdSetIterator in, MaxScoreCache maxScoreCache)Sole constructor.TwoPhaseIterator(DocIdSetIterator approximation)Takes the approximation to be returned byTwoPhaseIterator.approximation. -
Uses of DocIdSetIterator in org.apache.lucene.search.comparators
Subclasses of DocIdSetIterator in org.apache.lucene.search.comparators Modifier and Type Class Description classMinDocIteratorDocs iterator that starts iterating from a configurable minimum documentMethods in org.apache.lucene.search.comparators that return DocIdSetIterator Modifier and Type Method Description DocIdSetIteratorNumericComparator.NumericLeafComparator. competitiveIterator() -
Uses of DocIdSetIterator in org.apache.lucene.util
Subclasses of DocIdSetIterator in org.apache.lucene.util Modifier and Type Class Description classBitSetIteratorADocIdSetIteratorwhich iterates over set bits in a bit set.classDocBaseBitSetIteratorADocIdSetIteratorlikeBitSetIteratorbut has a doc base in onder to avoid storing previous 0s.Methods in org.apache.lucene.util that return DocIdSetIterator Modifier and Type Method Description DocIdSetIteratorBitDocIdSet. iterator()DocIdSetIteratorNotDocIdSet. iterator()DocIdSetIteratorRoaringDocIdSet. iterator()Methods in org.apache.lucene.util with parameters of type DocIdSetIterator Modifier and Type Method Description voidDocIdSetBuilder. add(DocIdSetIterator iter)Add the content of the providedDocIdSetIteratorto this builder.voidDocIdSetBuilder.BulkAdder. add(DocIdSetIterator iterator)RoaringDocIdSet.BuilderRoaringDocIdSet.Builder. add(DocIdSetIterator disi)Add the content of the providedDocIdSetIterator.voidFixedBitSet. andNot(DocIdSetIterator iter)protected voidBitSet. checkUnpositioned(DocIdSetIterator iter)Assert that the current doc is -1.static FixedBitSetBitSetIterator. getFixedBitSetOrNull(DocIdSetIterator iterator)If the provided iterator wraps aFixedBitSet, returns it, otherwise returns null.static SparseFixedBitSetBitSetIterator. getSparseFixedBitSetOrNull(DocIdSetIterator iterator)If the provided iterator wraps aSparseFixedBitSet, returns it, otherwise returns null.static BitSetBitSet. of(DocIdSetIterator it, int maxDoc)Build aBitSetfrom the content of the providedDocIdSetIterator.voidBitSet. or(DocIdSetIterator iter)Does in-place OR of the bits provided by the iterator.voidFixedBitSet. or(DocIdSetIterator iter)voidSparseFixedBitSet. or(DocIdSetIterator it)voidFixedBitSet. xor(DocIdSetIterator iter)Does in-place XOR of the bits provided by the iterator. -
Uses of DocIdSetIterator in org.apache.lucene.util.hnsw
Methods in org.apache.lucene.util.hnsw with parameters of type DocIdSetIterator Modifier and Type Method Description protected HnswBuilderConcurrentHnswMerger. createBuilder(DocIdSetIterator mergedVectorIterator, int maxOrd)protected HnswBuilderIncrementalHnswGraphMerger. createBuilder(DocIdSetIterator mergedVectorIterator, int maxOrd)Builds a new HnswGraphBuilder using the biggest graph from the merge state as a starting point.protected 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.OnHeapHnswGraphHnswGraphMerger. merge(DocIdSetIterator mergedVectorIterator, InfoStream infoStream, int maxOrd)Merge and produce the on heap graphOnHeapHnswGraphIncrementalHnswGraphMerger. merge(DocIdSetIterator mergedVectorIterator, InfoStream infoStream, int maxOrd) -
Uses of DocIdSetIterator in org.apache.lucene.util.quantization
Subclasses of DocIdSetIterator in org.apache.lucene.util.quantization Modifier and Type Class Description classQuantizedByteVectorValuesA version ofByteVectorValues, but additionally retrieving score correction offset for Scalar quantization scores.
-