Uses of Class
org.apache.lucene.search.DocIdSetIterator
Packages that use DocIdSetIterator
Package
Description
Lucene 9.0 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.Classes related to vector search: knn and vector fields.
Some utility classes.
-
Uses of DocIdSetIterator in org.apache.lucene.codecs.lucene90
Subclasses of DocIdSetIterator in org.apache.lucene.codecs.lucene90Modifier and TypeClassDescriptionfinal classDisk-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 DocIdSetIteratorModifier and TypeMethodDescriptionstatic 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.document
Subclasses of DocIdSetIterator in org.apache.lucene.documentModifier and TypeClassDescriptionclassA 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.indexModifier and TypeClassDescriptionclassA per-document numeric value.classDelegates all methods to a wrappedBinaryDocValues.static classBase class for filteringPostingsEnumimplementations.classDelegates all methods to a wrappedNumericDocValues.classDelegates all methods to a wrappedSortedDocValues.classDelegates all methods to a wrappedSortedNumericDocValues.classDelegates all methods to a wrappedSortedSetDocValues.classExtension ofPostingsEnumwhich also provides information about upcoming impacts.static classA DocIdSetIterator that also provides an index() method tracking a distinct ordinal for a vector associated with each doc.static classImplements SortedDocValues over n subs, using an OrdinalMapstatic classImplements MultiSortedSetDocValues over n subs, using an OrdinalMapfinal classExposesPostingsEnum, merged fromPostingsEnumAPI of sub-segments.classA per-document numeric value.classIterates through the postings.final classImpactsEnumthat doesn't index impacts but implements the API in a legal way.classA per-document byte[] with presorted values.classA list of per-document numeric values, sorted according toLong.compare(long, long).classA multi-valued version ofSortedDocValues.static classIterator over KnnVectorValues accepting a mapping to differently-sorted docs.Methods in org.apache.lucene.index that return DocIdSetIteratorMethods in org.apache.lucene.index with parameters of type DocIdSetIteratorModifier and TypeMethodDescriptionprotected static KnnVectorValues.DocIndexIteratorKnnVectorValues.fromDISI(DocIdSetIterator docsWithField) Creates an iterator from a DocIdSetIterator indicating which docs have values, and for which ordinals increase monotonically with docid.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.searchModifier and TypeClassDescriptionfinal classADocIdSetIteratorwhich is a disjunction of the approximations of the provided iterators.classWrapper around aDocIdSetIterator.classAbstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validation mechanism on an underlying DocIdSetIterator.final classDocIdSetIteratorthat skips non-competitive docs thanks to the indexed impacts.static classSlower version of UnionPostingsEnum that delegates offsets and positions, for use by MatchesIteratorstatic classTakes the logical union of multiple PostingsEnum iterators.Fields in org.apache.lucene.search declared as DocIdSetIteratorModifier and TypeFieldDescriptionprotected DocIdSetIteratorFilteredDocIdSetIterator._innerIterfinal DocIdSetIteratorDisiWrapper.approximationprotected final DocIdSetIteratorTwoPhaseIterator.approximationprotected final DocIdSetIteratorFilterDocIdSetIterator.inWrapped instance.final DocIdSetIteratorDisiWrapper.iteratorMethods in org.apache.lucene.search that return DocIdSetIteratorModifier and TypeMethodDescriptionstatic DocIdSetIteratorDocIdSetIterator.all(int maxDoc) ADocIdSetIteratorthat matches all documents up tomaxDoc - 1.TwoPhaseIterator.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 emptyDocIdSetIteratorinstanceFilteredDocIdSetIterator.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.ConstantScoreScorer.iterator()abstract DocIdSetIteratorConstantScoreScorerSupplier.iterator(long leadCost) Return an iterator given the cost of the leading clause.abstract DocIdSetIteratorDocIdSet.iterator()Provides aDocIdSetIteratorto access the set.final DocIdSetIteratorFilterScorer.iterator()IndriDisjunctionScorer.iterator()abstract DocIdSetIteratorIndriScorer.iterator()LRUQueryCache.CacheAndCount.iterator()abstract DocIdSetIteratorScorer.iterator()Return aDocIdSetIteratorover matching documents.TermScorer.iterator()VectorScorer.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 DocIdSetIteratorModifier and TypeMethodDescriptionstatic 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 listsprotected TopDocsPatienceKnnVectorQuery.exactSearch(LeafReaderContext context, DocIdSetIterator acceptIterator, QueryTimeout queryTimeout) protected TopDocsSeededKnnVectorQuery.exactSearch(LeafReaderContext context, DocIdSetIterator acceptIterator, QueryTimeout queryTimeout) static ConstantScoreScorerSupplierConstantScoreScorerSupplier.fromIterator(DocIdSetIterator iterator, float score, ScoreMode scoreMode, int maxDoc) Create aConstantScoreScorerSupplierfor the given iterator.static 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 DocIdSetIteratorModifier and TypeMethodDescriptionstatic 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 DocIdSetIteratorModifierConstructorDescriptionConstantScoreScorer(float score, ScoreMode scoreMode, DocIdSetIterator disi) Constructor based on aDocIdSetIteratorwhich will be used to drive iteration.Sole constructor.FilteredDocIdSetIterator(DocIdSetIterator innerIter) Constructor.ImpactsDISI(DocIdSetIterator in, MaxScoreCache maxScoreCache) Sole constructor.protectedTwoPhaseIterator(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.comparatorsModifier and TypeClassDescriptionclassDocs iterator that starts iterating from a configurable minimum documentMethods in org.apache.lucene.search.comparators that return DocIdSetIterator -
Uses of DocIdSetIterator in org.apache.lucene.search.knn
Methods in org.apache.lucene.search.knn that return DocIdSetIteratorModifier and TypeMethodDescriptionKnnSearchStrategy.Seeded.entryPoints()Iterator of valid entry points for the kNN searchConstructors in org.apache.lucene.search.knn with parameters of type DocIdSetIteratorModifierConstructorDescriptionSeeded(DocIdSetIterator entryPoints, int numberOfEntryPoints, KnnSearchStrategy originalStrategy) -
Uses of DocIdSetIterator in org.apache.lucene.util
Subclasses of DocIdSetIterator in org.apache.lucene.utilModifier and TypeClassDescriptionclassADocIdSetIteratorwhich iterates over set bits in a bit set.classADocIdSetIteratorlikeBitSetIteratorbut has a doc base in onder to avoid storing previous 0s.Methods in org.apache.lucene.util that return DocIdSetIteratorModifier and TypeMethodDescriptionBitDocIdSet.iterator()NotDocIdSet.iterator()RoaringDocIdSet.iterator()Methods in org.apache.lucene.util with parameters of type DocIdSetIteratorModifier and TypeMethodDescriptionvoidDocIdSetBuilder.add(DocIdSetIterator iter) Add the content of the providedDocIdSetIteratorto this builder.voidDocIdSetBuilder.BulkAdder.add(DocIdSetIterator iterator) RoaringDocIdSet.Builder.add(DocIdSetIterator disi) Add the content of the providedDocIdSetIterator.voidFixedBitSet.andNot(DocIdSetIterator iter) protected final 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.