Uses of Class
org.apache.lucene.util.hnsw.OnHeapHnswGraph
Packages that use OnHeapHnswGraph
Package
Description
Lucene 9.5 file format.
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of OnHeapHnswGraph in org.apache.lucene.codecs.lucene95
Methods in org.apache.lucene.codecs.lucene95 that return OnHeapHnswGraphModifier and TypeMethodDescription(package private) OnHeapHnswGraph
Lucene95HnswVectorsWriter.FieldWriter.getGraph()
Methods in org.apache.lucene.codecs.lucene95 with parameters of type OnHeapHnswGraphModifier and TypeMethodDescriptionprivate HnswGraph
Lucene95HnswVectorsWriter.reconstructAndWriteGraph
(OnHeapHnswGraph graph, int[] newToOldMap, int[] oldToNewMap, int[][] levelNodeOffsets) Reconstructs the graph given the old and new node ids.private int[][]
Lucene95HnswVectorsWriter.writeGraph
(OnHeapHnswGraph graph) -
Uses of OnHeapHnswGraph in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as OnHeapHnswGraphMethods in org.apache.lucene.util.hnsw that return OnHeapHnswGraphModifier and TypeMethodDescriptionHnswGraphBuilder.build
(RandomAccessVectorValues<T> vectorsToAdd) Reads all the vectors from two copies of aRandomAccessVectorValues
.HnswGraphBuilder.getGraph()