create_hnsw_index: Create HNSW Index

View source: R/hnsw.R

create_hnsw_indexR Documentation

Create HNSW Index

Description

Factory function to create HNSW index

Usage

create_hnsw_index(dimension, metric = "angular", n_trees = 50)

Arguments

dimension

Vector dimension

metric

Distance metric

n_trees

Number of trees

Value

HNSWIndex object


VectrixDB documentation built on Feb. 20, 2026, 5:09 p.m.