Package org.apache.lucene.index
Class KnnVectorValues.DocIndexIterator
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.KnnVectorValues.DocIndexIterator
- Direct Known Subclasses:
SortingCodecReader.SortingValuesIterator
- Enclosing class:
KnnVectorValues
A DocIdSetIterator that also provides an index() method tracking a distinct ordinal for a
vector associated with each doc.
-
Field Summary
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract int
index()
return the value index (aka "ordinal" or "ord") corresponding to the current docMethods inherited from class org.apache.lucene.search.DocIdSetIterator
advance, all, cost, docID, docIDRunEnd, empty, intoBitSet, nextDoc, range, slowAdvance
-
Constructor Details
-
DocIndexIterator
public DocIndexIterator()
-
-
Method Details
-
index
public abstract int index()return the value index (aka "ordinal" or "ord") corresponding to the current doc
-