Lattice
Skip to content

Hybrid search

Combining lexical retrieval (BM25) with vector retrieval, so exact matches and semantic matches are both found.

By Lattice editorial · Entry last reviewed · method

What it implies

Pure vector search misses the specific tokens users type; pure lexical misses paraphrase. Unioning the candidates and then reranking gets both. Most vector databases support this as a single query, and managed ones often behind a flag. If yours does not, that alone justifies a migration.

Tools in this index

Related terms