lance-format/lance

Allow issue vector search in batch mode

Open

#876 ouverte le 17 mai 2023

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Rust (695 forks)github user discovery
A-indexA-pythonenhancementgood first issuehelp wantedrust

Métriques du dépôt

Stars
 (6 582 stars)
Métriques de merge PR
 (Merge moyen 6j 1h) (219 PRs mergées en 30 j)

Description

Problem Statement

Instead of query one vector a time, allows user to issue multiple queries in the same request, exposing more opportunity for internal parallisms.

enable vector searching for a batch of queries. Currently Lance only allows 1D queries, but allowing 2D queries (parallelized) would be useful. Use case #1 is: at query time to run multiple simultaneous queries 'around' the root query to diversify search results, and #2 is useful for ETL operations (like the above deduplication) Agree it would be amazing that lance support this api directly to minimize read requests to object store. Recent work to cache the index already helps

Guide contributeur