HnswBuilder

interface HnswBuilder

Interface for builder building the OnHeapHnswGraph

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
abstract val graph: OnHeapHnswGraph

Functions

Link copied to clipboard
abstract fun addGraphNode(node: Int)

Inserts a doc with vector value to the graph

Link copied to clipboard
abstract fun build(maxOrd: Int): OnHeapHnswGraph

Adds all nodes to the graph up to the provided maxOrd.

Link copied to clipboard
abstract fun setInfoStream(infoStream: InfoStream)

Set info-stream to output debugging information