lance-format/lance

Support StringView type in FTS indices

Aperta

#8245 aperta il 4 ago 2026

 (1 commento) (0 reazioni) (0 assegnatari)Rust (695 fork)github user discovery
A-indexgood first issue

Metriche repository

Star
 (6582 stelle)
Metriche merge PR
 (Merge medio 6g 1h) (219 PR mergiate in 30 g)

Descrizione

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

Guida contributor