# What is HNSW? Definition and meaning

A layered proximity-graph index that gives fast and accurate approximate search.

## Definition

**HNSW**: A layered proximity-graph index that gives fast and accurate approximate search.

In short: Graph index for approximate nearest neighbours.

## When it is used

The default index in most vector databases.

## Learn more

The full guide to **[HNSW](/tools/hnsw)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Hexagonal architecture](/glossary/hexagonal-architecture) · Next term: [Hugging Face](/glossary/hugging-face)
