lance-format/lance

[DuckDB] Expose vector search capability via duckdb extension

Open

#640 aberto em 25 de fev. de 2023

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (695 forks)github user discovery
A-indexduckdbgood first issuehelp wantedrust

Métricas do repositório

Stars
 (6.582 stars)
Métricas de merge de PR
 (Mesclagem média 6d 1h) (219 fundiu PRs em 30d)

Description

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"

Guia do colaborador