Uses of Class
org.apache.lucene.search.DocIdSetIterator
-
Packages that use DocIdSetIterator Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.spans The calculus of spans.org.apache.lucene.util Some utility classes. -
-
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.classFilterBinaryDocValuesDelegates all methods to a wrappedBinaryDocValues.static classFilterLeafReader.FilterPostingsEnumBase class for filteringPostingsEnumimplementations.classFilterNumericDocValuesDelegates all methods to a wrappedNumericDocValues.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. -
Uses of DocIdSetIterator in org.apache.lucene.search
Subclasses of DocIdSetIterator in org.apache.lucene.search Modifier and Type Class Description classBlockMaxDISIDocIdSetIteratorthat skips non-competitive docs by checking the max score of the providedScorerfor the current block.classConjunctionDISIA conjunction of DocIdSetIterators.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.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.static DocIdSetIteratorDocIdSetIterator. empty()An emptyDocIdSetIteratorinstanceDocIdSetIteratorFilteredDocIdSetIterator. getDelegate()Return the wrappedDocIdSetIterator.static DocIdSetIteratorDocValuesFieldExistsQuery. 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 DocIdSetIteratorConjunctionDISI. intersectIterators(List<DocIdSetIterator> iterators)Create a conjunction over the provided DocIdSetIterators.static DocIdSetIteratorConjunctionDISI. intersectScorers(Collection<Scorer> scorers)Create a conjunction over the providedScorers.static DocIdSetIteratorConjunctionDISI. intersectSpans(List<Spans> spanList)Create a conjunction over the providedSpans.DocIdSetIteratorConstantScoreScorer. iterator()abstract DocIdSetIteratorDocIdSet. iterator()Provides aDocIdSetIteratorto access the set.DocIdSetIteratorFilterScorer. iterator()abstract DocIdSetIteratorScorer. iterator()Return aDocIdSetIteratorover matching documents.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 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 DocIdSetIteratorConjunctionDISI. intersectIterators(List<DocIdSetIterator> iterators)Create a conjunction over the provided DocIdSetIterators.Constructors in org.apache.lucene.search with parameters of type DocIdSetIterator Constructor Description BlockMaxDISI(DocIdSetIterator iterator, Scorer scorer)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, ImpactsSource impactsSource, Similarity.SimScorer scorer)Sole constructor.TwoPhaseIterator(DocIdSetIterator approximation)Takes the approximation to be returned byTwoPhaseIterator.approximation. -
Uses of DocIdSetIterator in org.apache.lucene.search.spans
Subclasses of DocIdSetIterator in org.apache.lucene.search.spans Modifier and Type Class Description classFilterSpansASpansimplementation wrapping another spans instance, allowing to filter spans matches easily by implementingFilterSpans.accept(org.apache.lucene.search.spans.Spans)classNearSpansOrderedA Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.classNearSpansUnorderedSimilar toNearSpansOrdered, but for the unordered case.classSpansIterates through combinations of start/end positions per-doc.classTermSpansExpert: Public for extension only.Methods in org.apache.lucene.search.spans that return DocIdSetIterator Modifier and Type Method Description DocIdSetIteratorSpanScorer. iterator() -
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.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.RoaringDocIdSet.BuilderRoaringDocIdSet.Builder. add(DocIdSetIterator disi)Add the content of the providedDocIdSetIterator.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.
-