Skip to main content
An index is a data structure that facilitates efficient scans and lookups on the embeddings of a given dataset. LanceDB provides a comprehensive suite of indexes to optimize query performance across diverse workloads:
  • Vector Index: Efficiently searches for similar vectors across high-dimensional data (e.g. images, audio, or text embeddings)
  • Full-Text Search Index: Enables fast keyword-based searches by indexing words and phrases
  • Scalar Index: Accelerates filtering and sorting of structured numeric or categorical data (e.g. timestamps, prices)

Supported Indexes

LanceDB provides a comprehensive suite of indexes for different use cases and data types:
TypeScript currently doesn’t support IvfSq (IVF with Scalar Quantization).

Quantization

LanceDB also supports several different quantization methods, used by vector indexes to compress vectors and improve search performance: