raglite icon indicating copy to clipboard operation
raglite copied to clipboard

Run hybrid search with a single SQL statement instead of separate invocations of keyword and vector search

Open lsorber opened this issue 2 years ago • 1 comments

Currently, hybrid search executes keyword search and vector search independently, and then combines the results of both with RRF. This could be optimised by implementing a single SQL query that pushes all of this computation to the database.

Related: https://github.com/superlinear-ai/raglite/issues/38

lsorber avatar Oct 23 '24 07:10 lsorber

@lsorber, we just added SQL support to TopK. Single SQL query can run hybrid, multi-vec search directly in the database - https://www.topk.io/blog/20260614-topk-sql

marekgalovic avatar Jun 22 '26 11:06 marekgalovic