Skip to main content
Weaviate Docs (migrated from docs.weaviate.io) Docs

Search documentation

Type to search this documentation.

Indexing

Weaviate supports several types of indexes.

  1. Vector indexes - a vector index (e.g. HNSW or flat) is used to serve all vector-search queries.
    • HNSW - an approximate nearest neighbor (ANN) search-based vector index. HNSW indexes scale well with large datasets.
    • Flat - a vector index that is used for brute-force searches. This is useful for small datasets.
    • Dynamic - a vector index that is flat when the dataset is small and switches to HNSW when the dataset is large.
  2. Inverted indexes - inverted indexes enable BM25 queries or speed up filtering.

You can configure indexes in Weaviate per collection.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu