raglite
raglite copied to clipboard
Run hybrid search with a single SQL statement instead of separate invocations of keyword and vector search
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, 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