Skip to content

[doc](lance) delete master branch doc about lance catalog - #4086

Merged
zhangstar333 merged 2 commits into
apache:masterfrom
zhangstar333:lance_delete_master
Aug 25, 2026
Merged

zhangstar333 merged 2 commits into
apache:masterfrom
zhangstar333:lance_delete_master

Conversation

@zhangstar333

Copy link
Copy Markdown
Contributor

Versions

  • dev
  • 4.x
  • 3.x
  • 2.1 or older (not covered by version/language sync gate)

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built
  • Updated required version and language counterparts, or explained why not
  • If only one language changed, confirmed whether source/translation counterparts need sync

@zhangstar333
zhangstar333 merged commit a82a5e4 into apache:master Aug 25, 2026
3 checks passed
FANNG1 added a commit to FANNG1/doris-website that referenced this pull request Aug 25, 2026
…y matrix

Whether an index can serve vector_search() depends on the vector element type and
the metric it was built with, because the embedded Lance version does not
implement every combination, and nothing in the docs said so.

The matrix is measured rather than inferred: every cell of the element type x
metric x index type matrix was built against the embedded Lance version, and the
combinations marked supported are exactly those that built and answered a search.
The page now also says what the regression suite checks for each - an indexed plan
with no fragment left scanned unindexed, a single-partition probe that changes the
answer, and agreement with an exhaustive scan after reranking - and that recall is
not measured at either level.

Three footnotes carry the cases that do not fit a cell. float16 with l2 is a
property of the data rather than of the combination: Lance accumulates centroids
in the element type, so a build over vectors whose squared distances exceed the
float16 range does not converge, while over bounded vectors all six index types
build and answer normally. uint8 is read as a binary vector, which is why hamming
is its only metric and the quantizing builders reject it. int8 has no complete
index build path, and searching a nullable int8 column terminates the BE on the
embedded version.

Targets versioned_docs/version-4.x only, per apache#4086, which removed the lance
catalog page from the master branch docs.

Claude-Session: https://claude.ai/code/session_01J55jh5bX3t1DvTqbWx1qEN
FANNG1 added a commit to FANNG1/doris-website that referenced this pull request Aug 25, 2026
…y matrix

Whether an index can serve vector_search() depends on the vector element type and
the metric it was built with, because the embedded Lance version does not
implement every combination, and nothing in the docs said so.

The matrix is measured rather than inferred: every cell of the element type x
metric x index type matrix was built against the embedded Lance version, and the
combinations marked supported are exactly those that built and answered a search.
The page now also says what the regression suite checks for each - an indexed plan
with no fragment left scanned unindexed, a single-partition probe that changes the
answer, and agreement with an exhaustive scan after reranking - and that recall is
not measured at either level.

Three footnotes carry the cases that do not fit a cell. float16 with l2 is a
property of the data rather than of the combination: Lance accumulates centroids
in the element type, so a build over vectors whose squared distances exceed the
float16 range does not converge, while over bounded vectors all six index types
build and answer normally. uint8 is read as a binary vector, which is why hamming
is its only metric and the quantizing builders reject it. int8 has no complete
index build path, and searching a nullable int8 column terminates the BE on the
embedded version.

Targets versioned_docs/version-4.x only, per apache#4086, which removed the lance
catalog page from the master branch docs.

Claude-Session: https://claude.ai/code/session_01J55jh5bX3t1DvTqbWx1qEN
FANNG1 added a commit to FANNG1/doris-website that referenced this pull request Aug 25, 2026
…y matrix

Whether an index can serve vector_search() depends on the vector element type and
the metric it was built with, because the embedded Lance version does not
implement every combination, and nothing in the docs said so.

The matrix is measured rather than inferred: every cell of the element type x
metric x index type matrix was built against the embedded Lance version, and the
combinations marked supported are exactly those that built and answered a search.
The page now also says what the regression suite checks for each - an indexed plan
with no fragment left scanned unindexed, a single-partition probe that changes the
answer, and agreement with an exhaustive scan after reranking - and that recall is
not measured at either level.

Three footnotes carry the cases that do not fit a cell. float16 with l2 is a
property of the data rather than of the combination: Lance accumulates centroids
in the element type, so a build over vectors whose squared distances exceed the
float16 range does not converge, while over bounded vectors all six index types
build and answer normally. uint8 is read as a binary vector, which is why hamming
is its only metric and the quantizing builders reject it. int8 has no complete
index build path, and searching a nullable int8 column terminates the BE on the
embedded version.

Targets versioned_docs/version-4.x only, per apache#4086, which removed the lance
catalog page from the master branch docs.

Claude-Session: https://claude.ai/code/session_01J55jh5bX3t1DvTqbWx1qEN
zhangstar333 pushed a commit that referenced this pull request Aug 26, 2026
Document the `SHOW INDEX` support for Lance Filesystem Catalog tables
added in apache/doris#66637.

## What Changed

- `lakehouse/catalogs/lance-catalog.mdx` (EN + zh-CN)
- Feature Overview: metadata access now lists `SHOW INDEX` (Filesystem
Catalogs only); added a `System tables (table$...)` row marked "Not
supported" that points users to `SHOW INDEX` for index metadata,
aligning with the Paimon/Iceberg system-table model.
- New "Inspect Lance Indexes / 查看 Lance 索引" section: syntax and aliases
(`SHOW INDEXES` / `SHOW KEY` / `SHOW KEYS`), the 13-column result
mapping for Lance tables (only `Table`, `Key_name`, `Seq_in_index`,
`Column_name`, `Index_type`, and `Properties` carry values),
nested-field paths with backtick quoting, the `Properties` details
allowlist, output examples taken from the code PR's regression test,
fail-closed semantics, the `SHOW` privilege requirement, and the fixed
`SHOW INDEX is not supported for Lance REST catalogs` error.
- Current Limitations and Recommendations: added a `SHOW INDEX` bullet.
- `sql-manual/sql-statements/table-and-view/index/SHOW-INDEX.md` (EN +
zh-CN)
- Description now covers Lance logical indexes, and notes that tables in
other external catalogs (Iceberg, Paimon, ...) return an empty result,
with links to their system-table docs (including Paimon
`table_indexes`).
  - Added a Lance example.

`docs/` (dev) is intentionally untouched: the Lance catalog doc was
removed from dev in #4086 because apache/doris master has no Lance code
(the feature lives on branch-4.1).
Gabriel39 added a commit that referenced this pull request Sep 18, 2026
Document how to query a Lance multi-vector column with
`vector_search()`, including data preparation, expected results,
scoring, index usage, and parameter limits in the English and Chinese
4.x Lance Catalog guides.

Depends on apache/doris#68028; merge the
documentation with or after that implementation. Related feature
request: apache/doris#66494.

The guide explains supported Arrow types and nullability, row-level
L2/cosine/dot scoring, matrix dimensions, the 128-subvector limit, both
100,000-candidate budgets, mandatory multi-vector refinement, and cosine
index usage. It also corrects the metric/refinement defaults and reader
versions to match the implementation.

## Versions

- [ ] dev
- [x] 4.x
- [ ] 3.x
- [ ] 2.1 or older (not covered by version/language sync gate)

The Dev Lance Catalog pages were deliberately removed in
#4086. This change updates
the existing 4.x pages without restoring those pages or advertising
support in older releases. This explains the existing
missing-current-counterpart warning from the locale/version check.

## Languages

- [x] Chinese
- [x] English

## Validation

- Reviewed the complete diff against the FE parameter validation and
Lance C multi-vector scoring implementation.
- Compiled both changed MDX files with GFM/front matter support and
normalized Docusaurus explicit heading IDs.
- Changed-file link and feature checks: no errors. The external Lance
object-store documentation was checked separately.
- Verified that both locales contain identical executable examples.
Executed the data builder using pylance 11.0.0 with temporary local
storage, then checked the documented basic, offset, and prefilter
results through the patched Lance C scanner, including empty/null outer
rows.
- `git diff --check` passed.
- No full-site build or new live Doris SQL run. SEO checks reported only
existing metadata warnings; no metadata is changed.

## Docs Checklist

- [x] Checked by AI
- [x] Test Cases Built
- [x] Updated required version and language counterparts, or explained
why not
- [x] If only one language changed, confirmed whether source/translation
counterparts need sync

This branch was previously deployed

1 inactive deployment
Production — 89e02f61 Deployed Aug 25, 2026 by zhangstar333 via Build Check #8251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant