lance-format / lance-format/lance

Support StringView type in FTS indices

Open
#8,245 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We already have code that it generic over Utf8 and LargeUtf8, so it should mostly be a matter to findings the places where we match on those and add cases for StringView.

Examples:

https://github.com/lance-format/lance/blob/11eeb29161a2ac2763ff8cc6aa1fde8eb4592291/rust/lance-arrow/src/lib.rs#L470-L476

https://github.com/lance-format/lance/blob/11eeb29161a2ac2763ff8cc6aa1fde8eb4592291/rust/lance-index/src/scalar/inverted/index.rs#L7966

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-arrow/src/lib.rs around the Utf8 and LargeUtf8 matches, then inspect rust/lance-index/src/scalar/inverted/index.rs around the referenced index logic. Find the corresponding StringView cases and verify that FTS indices support StringView wherever they already support those types.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.