lance-format / lance-format/lance

feat: provide python based index file writer for external indexer

Open
#4,548 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-index A-python feature
Dominant language
Rust
Stars
7.1k
Forks
852
Avg merge
3d 18h
Merged PRs (30d)
272

Description

Current, other than vector index, both scalar indices and full text indices do not expose friendly API to be integrated into distributed frameworks.

We could start to have a ScalarIndexWriter which writes (value, row_id) streams into btree/bitmap indices. In this way, we can use external frameworks like Ray or Spark to do distributed sorting.

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

No files or tests are named. Start by reviewing the existing vector-index implementation and the scalar and full-text index interfaces, then clarify the proposed Python API and its integration boundary. Done should mean a ScalarIndexWriter can consume (value, row_id) streams and write btree or bitmap indices for external distributed frameworks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
data-engineering, databases, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.