Skip to main content

text mode

Default for document-centric workloads. Documents need a text field (or a string passed to add).
BM25 sparse search uses the document body column. Metadata fields (for example tag, year) are stored and available in SQL WHERE / GROUP BY.

hybrid mode

Use when you need both lexical and dense vector search on the same table.
  • text — primary body for BM25 / sparse search.
  • embedding — fixed-size float vector (vector[N]) for ANN.
  • Optional columns — tags, scores, or other metadata.

Opening existing tables

If the database already exists on disk, open a table by name instead of creating it:

Choosing a mode

See Search strategies and On-disk layout.