Skip to content

refactor(index): introduce RowIdRemapper trait to decouple ScalarIndexPlugin from FragReuseIndex#7394

Open
westonpace wants to merge 1 commit into
lance-format:mainfrom
westonpace:refactor/fri-to-remapper-trait
Open

refactor(index): introduce RowIdRemapper trait to decouple ScalarIndexPlugin from FragReuseIndex#7394
westonpace wants to merge 1 commit into
lance-format:mainfrom
westonpace:refactor/fri-to-remapper-trait

Conversation

@westonpace

Copy link
Copy Markdown
Member

Replaces the concrete FragReuseIndex parameter in ScalarIndexPlugin::load_index and get_from_cache with an abstract RowIdRemapper trait, removing the direct dependency of scalar index infrastructure on the table-level fragment-reuse type. FragReuseIndex implements the new trait and the call site in lance casts before passing through.

…xPlugin from FragReuseIndex

Replaces the concrete `FragReuseIndex` parameter in `ScalarIndexPlugin::load_index`
and `get_from_cache` with an abstract `RowIdRemapper` trait, removing the direct
dependency of scalar index infrastructure on the table-level fragment-reuse type.
`FragReuseIndex` implements the new trait and the call site in lance casts before
passing through.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the A-index Vector index, linalg, tokenizer label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-index Vector index, linalg, tokenizer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant