Uses of Class org.apache.lucene.index.KnnVectorValues.DocIndexIterator (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.index, class: KnnVectorValues, class: DocIndexIterator

# Uses of Class
org.apache.lucene.index.KnnVectorValues.DocIndexIterator

Packages that use KnnVectorValues.DocIndexIterator
Package
Description
org.apache.lucene.codecs.lucene104
Lucene 10.4 file format.
org.apache.lucene.codecs.lucene90
Lucene 9.0 file format.
org.apache.lucene.codecs.lucene95
Lucene 9.5 file format.
org.apache.lucene.index
Code to maintain and access indices.
org.apache.lucene.search
Code to search indices.

- ## Uses of KnnVectorValues.DocIndexIterator in org.apache.lucene.codecs.lucene104

  Methods in org.apache.lucene.codecs.lucene104 that return KnnVectorValues.DocIndexIterator
  Modifier and Type
  Method
  Description
  `KnnVectorValues.DocIndexIterator`
  Lucene104ScalarQuantizedVectorsReader.ScalarQuantizedVectorValues.`iterator()`

- ## Uses of KnnVectorValues.DocIndexIterator in org.apache.lucene.codecs.lucene90

  Methods in org.apache.lucene.codecs.lucene90 that return KnnVectorValues.DocIndexIterator
  Modifier and Type
  Method
  Description
  `static KnnVectorValues.DocIndexIterator`
  IndexedDISI.`asDocIndexIterator(IndexedDISI disi)`
  Returns an iterator that delegates to the IndexedDISI.

- ## Uses of KnnVectorValues.DocIndexIterator in org.apache.lucene.codecs.lucene95

  Methods in org.apache.lucene.codecs.lucene95 that return KnnVectorValues.DocIndexIterator
  Modifier and Type
  Method
  Description
  `KnnVectorValues.DocIndexIterator`
  OffHeapByteVectorValues.DenseOffHeapVectorValues.`iterator()`
  `KnnVectorValues.DocIndexIterator`
  OffHeapFloatVectorValues.DenseOffHeapVectorValues.`iterator()`

- ## Uses of KnnVectorValues.DocIndexIterator in org.apache.lucene.index

  Subclasses of KnnVectorValues.DocIndexIterator in org.apache.lucene.index
  Modifier and Type
  Class
  Description
  `static class`
  `SortingCodecReader.SortingValuesIterator`
  Iterator over KnnVectorValues accepting a mapping to differently-sorted docs.
  Methods in org.apache.lucene.index that return KnnVectorValues.DocIndexIterator
  Modifier and Type
  Method
  Description
  `protected KnnVectorValues.DocIndexIterator`
  KnnVectorValues.`createDenseIterator()`
  Creates an iterator for instances where every doc has a value, and the value ordinals are equal to the docids.
  `protected KnnVectorValues.DocIndexIterator`
  KnnVectorValues.`createSparseIterator()`
  Creates an iterator from this instance's ordinal-to-docid mapping which must be monotonic (docid increases when ordinal does).
  `protected static KnnVectorValues.DocIndexIterator`
  KnnVectorValues.`fromDISI(DocIdSetIterator docsWithField)`
  Creates an iterator from a DocIdSetIterator indicating which docs have values, and for which ordinals increase monotonically with docid.
  `KnnVectorValues.DocIndexIterator`
  KnnVectorValues.`iterator()`
  Create an iterator for this instance.

- ## Uses of KnnVectorValues.DocIndexIterator in org.apache.lucene.search

  Methods in org.apache.lucene.search with parameters of type KnnVectorValues.DocIndexIterator
  Modifier and Type
  Method
  Description
  `static VectorScorer.Bulk`
  VectorScorer.Bulk.`fromRandomScorerDense(RandomVectorScorer scorer, KnnVectorValues.DocIndexIterator iterator, DocIdSetIterator matchingDocs)`
  `static VectorScorer.Bulk`
  VectorScorer.Bulk.`fromRandomScorerSparse(RandomVectorScorer scorer, KnnVectorValues.DocIndexIterator iterator, DocIdSetIterator matchingDocs)`