Skip to content

Allow issue vector search in batch mode #876

Description

@eddyxu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-indexVector index, linalg, tokenizerA-pythonPython bindingsenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededrustRust related tasks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions