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 class
BinaryDocValues
A per-document numeric value.class
FilterBinaryDocValues
Delegates all methods to a wrappedBinaryDocValues
.static class
FilterLeafReader.FilterPostingsEnum
Base class for filteringPostingsEnum
implementations.class
FilterNumericDocValues
Delegates all methods to a wrappedNumericDocValues
.class
LegacyBinaryDocValuesWrapper
Deprecated.ImplementBinaryDocValues
directly.class
LegacyNumericDocValuesWrapper
Deprecated.ImplementNumericDocValues
directly.class
LegacySortedDocValuesWrapper
Deprecated.ImplementSortedDocValues
directly.class
LegacySortedNumericDocValuesWrapper
Deprecated.ImplementSortedNumericDocValues
directly.class
LegacySortedSetDocValuesWrapper
Deprecated.ImplementSortedSetDocValues
directly.static class
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMapstatic class
MultiDocValues.MultiSortedSetDocValues
Implements MultiSortedSetDocValues over n subs, using an OrdinalMapclass
MultiPostingsEnum
ExposesPostingsEnum
, merged fromPostingsEnum
API of sub-segments.class
NumericDocValues
A per-document numeric value.class
PostingsEnum
Iterates through the postings.class
SortedDocValues
A per-document byte[] with presorted values.class
SortedNumericDocValues
A list of per-document numeric values, sorted according toLong.compare(long, long)
.class
SortedSetDocValues
A 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 class
ConjunctionDISI
A conjunction of DocIdSetIterators.class
DisjunctionDISIApproximation
ADocIdSetIterator
which is a disjunction of the approximations of the provided iterators.class
FilteredDocIdSetIterator
Abstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validation mechanism on an underlying DocIdSetIterator.Fields in org.apache.lucene.search declared as DocIdSetIterator Modifier and Type Field Description protected DocIdSetIterator
FilteredDocIdSetIterator. _innerIter
DocIdSetIterator
DisiWrapper. approximation
protected DocIdSetIterator
TwoPhaseIterator. approximation
DocIdSetIterator
DisiWrapper. iterator
Methods in org.apache.lucene.search that return DocIdSetIterator Modifier and Type Method Description static DocIdSetIterator
DocIdSetIterator. all(int maxDoc)
ADocIdSetIterator
that matches all documents up tomaxDoc - 1
.DocIdSetIterator
TwoPhaseIterator. approximation()
Return an approximation.static DocIdSetIterator
TwoPhaseIterator. asDocIdSetIterator(TwoPhaseIterator twoPhaseIterator)
Return aDocIdSetIterator
view of the providedTwoPhaseIterator
.static DocIdSetIterator
DocIdSetIterator. empty()
An emptyDocIdSetIterator
instanceDocIdSetIterator
FilteredDocIdSetIterator. getDelegate()
Return the wrappedDocIdSetIterator
.static DocIdSetIterator
DocValuesFieldExistsQuery. 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
ConjunctionDISI. intersectIterators(List<DocIdSetIterator> iterators)
Create a conjunction over the provided DocIdSetIterators.static DocIdSetIterator
ConjunctionDISI. intersectScorers(Collection<Scorer> scorers)
Create a conjunction over the providedScorer
s.static DocIdSetIterator
ConjunctionDISI. intersectSpans(List<Spans> spanList)
Create a conjunction over the providedSpans
.DocIdSetIterator
ConstantScoreScorer. iterator()
abstract DocIdSetIterator
DocIdSet. iterator()
Provides aDocIdSetIterator
to access the set.DocIdSetIterator
FilterScorer. iterator()
abstract DocIdSetIterator
Scorer. iterator()
Return aDocIdSetIterator
over matching documents.static DocIdSetIterator
DocIdSetIterator. range(int minDoc, int maxDoc)
ADocIdSetIterator
that 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 TwoPhaseIterator
TwoPhaseIterator. unwrap(DocIdSetIterator iterator)
If the givenDocIdSetIterator
has 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 DocIdSetIterator
ConjunctionDISI. intersectIterators(List<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, DocIdSetIterator disi)
Constructor based on aDocIdSetIterator
which will be used to drive iteration.FilteredDocIdSetIterator(DocIdSetIterator innerIter)
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 class
FilterSpans
ASpans
implementation wrapping another spans instance, allowing to filter spans matches easily by implementingFilterSpans.accept(org.apache.lucene.search.spans.Spans)
class
NearSpansOrdered
A Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.class
NearSpansUnordered
Similar toNearSpansOrdered
, but for the unordered case.class
Spans
Iterates through combinations of start/end positions per-doc.class
TermSpans
Expert: Public for extension only.Methods in org.apache.lucene.search.spans that return DocIdSetIterator Modifier and Type Method Description DocIdSetIterator
SpanScorer. iterator()
-
Uses of DocIdSetIterator in org.apache.lucene.util
Subclasses of DocIdSetIterator in org.apache.lucene.util Modifier and Type Class Description class
BitSetIterator
ADocIdSetIterator
which iterates over set bits in a bit set.Methods in org.apache.lucene.util that return DocIdSetIterator Modifier and Type Method Description DocIdSetIterator
BitDocIdSet. iterator()
DocIdSetIterator
NotDocIdSet. iterator()
DocIdSetIterator
RoaringDocIdSet. iterator()
Methods in org.apache.lucene.util with parameters of type DocIdSetIterator Modifier and Type Method Description void
DocIdSetBuilder. add(DocIdSetIterator iter)
Add the content of the providedDocIdSetIterator
to this builder.RoaringDocIdSet.Builder
RoaringDocIdSet.Builder. add(DocIdSetIterator disi)
Add the content of the providedDocIdSetIterator
.protected 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.
-