Hnsw

class Hnsw(filteredSearchThreshold: Int) : KnnSearchStrategy

A strategy for kNN search that uses HNSW

Constructors

Link copied to clipboard
constructor(filteredSearchThreshold: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun equals(o: Any?): Boolean

Override and implement search strategy instance equivalence properly in a subclass.

Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int

Override and implement search strategy hash code properly in a subclass.

Link copied to clipboard
fun useFilteredSearch(ratioPassingFilter: Float): Boolean

Whether to use filtered search based on the ratio of vectors that pass the filter