Skip to main content

CREATE NON LINEAR ALGORITHM INDEX

Build a vector index — hnsw (approximate, high-dim) — to accelerate similarity search.

Syntax​

CREATE NON LINEAR ALGORITHM INDEX <algorithm> IN <store_name>CREATE NON LINEAR ALGORITHM INDEX <algorithm> IN <store_name> SCHEMA analytics

Example​

CREATE NON LINEAR ALGORITHM INDEX hnsw IN my_store

See SDK examples for Python, Node, Go, and Rust.