The metric space to create for the index ('l2', 'ip', or 'cosine').
The dimensionality of data points.
returns numNeighbors
closest items for a given query point.
The query point vector.
The number of nearest neighbors to search for.
Optional
filter: FilterFunctionThe function filters elements by its labels.
Optional
The search result object consists of distances and indices of the nearest neighbors found.
Generated using TypeDoc
Nearest-neighbor search index object based on brute-force search.