method_hnsw: An internal function to use HNSW algorithm via the RcppHNSW...

View source: R/method_hnsw.R

method_hnswR Documentation

An internal function to use HNSW algorithm via the RcppHNSW package.

Description

See details of hnsw_build and hnsw_search.

Usage

method_hnsw(x, y, k, distance, verbose, n_threads, path, control, seed)

Arguments

x

deduplication or reference data,

y

query data,

k

number of neighbours to return,

distance

type of distance to calculate,

verbose

if TRUE, log messages to the console,

n_threads

Maximum number of threads to use,

path

path to write the index,

control

controls for the HNSW algorithm.

Author(s)

Maciej Beręsewicz


blocking documentation built on June 18, 2025, 9:16 a.m.