lance-format / lance-format/lance

Support `CreateIndexBuilder.fragments()` for vector indices

Open
#4,759 2 comments 0 reactions 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

Right now it's passed for FTS and scalar indices, but not vector indices.

https://github.com/lancedb/lance/blob/238c8a99b1253d90ec4117a53554cac423c84567/rust/lance/src/index/create.rs#L199-L207

https://github.com/lancedb/lance/blob/238c8a99b1253d90ec4117a53554cac423c84567/rust/lance/src/index/create.rs#L260-L267

Passing this will make it easier to test cases where vector indices aren't fully up to date.

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 in rust/lance/src/index/create.rs at the linked lines, comparing how CreateIndexBuilder.fragments() is passed for FTS and scalar indices with the vector-index path. Confirm that vector index creation receives the fragments, then exercise the relevant index creation tests, including cases where vector indices are not fully up to date.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.