HnswStore

constructor(m: Int = 16, efConstruction: Int = 200, efSearch: Int = 64, ttl: Duration? = null, clock: Clock = Clock.systemUTC())

Parameters

m

HNSW neighbours per node (see HnswIndex).

efConstruction

build-time candidate width (see HnswIndex).

efSearch

query-time candidate width; the recall/latency dial.

ttl

how long an entry stays valid, or null to keep it until removed.

clock

time source; substitute a fixed clock in tests instead of sleeping.