lance-format/lance
在 GitHub 查看[DuckDB] Expose vector search capability via duckdb extension
Open
#640 建立於 2023年2月25日
A-indexduckdbgood first issuehelp wantedrust
倉庫指標
- Star
- (6,582 star)
- PR 合併指標
- (平均合併 6天 1小時) (30 天內合併 219 個 PR)
描述
Problem Statement
Lance rust dataset has the capability of querying over vector space, via Scannner::nearest(..), we should expose this to DuckDB via its extension mechanism.
For example, a potential implementation could be a duckdb table function lance_nearest
SELECT id, col
FROM lance_nearest("table", "vector_column", "query", top_k)
WHERE city = 'SF' and day = "02-03-2023"