lance-format / lance-format/lance

Support multiple indexes per column

Open
#4,805 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
7.1k
Forks
852
Avg merge
3d 18h
Merged PRs (30d)
272

Description

General parent issue tracking this work. We probably want the following changes:

  1. Remove currently validation of one index per column
  2. When creating indexes without an explicit name, the default name should be specific to the index type instead of being col + "_idx"
  3. Update planner to choose index to use based on query type
  4. Allow user to choose in scanner which index to use
  5. Add unit test coverage that we can create multiple indexes per column and queries run correctly against the right index

cc @Jay-ju

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 planner and scanner entry points involved in index selection, then locate the validation and default index-name logic. Review existing index unit tests and extend coverage for multiple indexes on one column, query-specific selection, and scanner choice; done means the listed behaviors work correctly together.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.