- All Known Implementing Classes:
Lucene95HnswVectorsReader
,Lucene99HnswVectorsReader
public interface HnswGraphProvider
An interface that provides an HNSW graph. This interface is useful when gathering multiple HNSW
graphs to bootstrap segment merging. The graph may be off the JVM heap.
-
Method Summary
-
Method Details
-
getGraph
Return the stored HnswGraph for the given field.- Parameters:
field
- the field containing the graph- Returns:
- the HnswGraph for the given field if found
- Throws:
IOException
- when reading potentially off-heap graph fails
-