HasKnnVectorValues (Lucene 10.5.0 core API)
Description: declaration: package: org.apache.lucene.util.hnsw, interface: HasKnnVectorValues

Package org.apache.lucene.util.hnsw

# Interface HasKnnVectorValues

All Known Implementing Classes:
  `RandomVectorScorer.AbstractRandomVectorScorer`, `UpdateableRandomVectorScorer.AbstractUpdateableRandomVectorScorer`

public interface HasKnnVectorValues
Implementors can return the KnnVectorValues from which their scorers read.

WARNING: This API is experimental and might change in incompatible ways in the next release.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `KnnVectorValues`
  `values()`
  Returns the backing vector values, or null.

- ## Method Details

  - ### values

    KnnVectorValues values()
    Returns the backing vector values, or null.