Home › Glossary › HNSW

HNSW

Graph-structured index for approximate vector search in RediSearch and pgvector. Compared with IVFFlat, recall versus speed is better, though building takes longer and memory use is higher.

Also called Hierarchical Navigable Small World.

Read more: Microsoft Learn

In the Ultra Transcenders books

AI-200

Each book explains HNSW in context, with comparison tables and the common traps.

Terms in this definition

Related terms

See HNSW in the full glossary