lance-format / lance-format/lance

Display warning if the index is not built for a vector column during query

Open
#804 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-python good first issue help wanted rust
Dominant language
Rust
Stars
7.1k
Forks
852
Avg merge
3d 18h
Merged PRs (30d)
272

Description

When user does a ANN query, show warnings if the index was not built for the column, for potentially slow query speed.

However, doing so blindly makes it really annoying for smaller datasets that really don't need an ANN index. One alternative could be that during the KNN (flat search) execution, if the runtime exceed a certain threshold to print the warning.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the ANN query and KNN (flat search) execution paths, including where the vector-column index is checked. Clarify whether warnings should depend on a missing index, a runtime threshold, or both; done means the chosen behavior warns about potentially slow searches without unnecessarily warning for small datasets.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.