From a289cb2ccc8a1e80c50aae131b72fafc4247bb78 Mon Sep 17 00:00:00 2001 From: BubbleCal Date: Sat, 14 Nov 2026 18:14:39 +0800 Subject: [PATCH] docs(index): explain legacy ngram consolidation on upgrade --- docs/web/indexing/scalar-index.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/web/indexing/scalar-index.mdx b/docs/web/indexing/scalar-index.mdx index f674a988d..fbd818b64 100644 --- a/docs/web/indexing/scalar-index.mdx +++ b/docs/web/indexing/scalar-index.mdx @@ -210,6 +210,13 @@ table.search().where("contains(text, 'needle')").limit(10).to_pandas() `list_indices()` reports the index type as `"NGram"`. + +Lance 15.0.0-beta.21 writes new NGram indexes using physical row addresses. On +tables with stable row IDs, rebuild legacy NGram indexes that store row IDs +before consolidating their segments. Consolidation rejects these legacy +row-ID segments. Tables without stable row IDs retain the earlier index format. + + ## Index UUID Columns LanceDB supports scalar indexes on UUID columns (stored as `FixedSizeBinary(16)`), enabling efficient lookups and filtering on UUID-based primary keys.