#66497·doris

[Feature](lance) Add vector and scalar index lifecycle management

Author: Gabriel39Created Aug 5, 2026Updated Sep 30, 2026
Labelskind/featurearea/catalog

Parent

Tracked by #66340. #65730 provides read-only index consumption and automatic vector-index selection.

Scope

  • Create vector indexes.
  • Create scalar indexes.
  • Show the number of indexes. Exact logical-index counts remain deferred by the accepted inspection contract; physical entry counts must not be presented as logical-index counts.
  • Show logical index names, columns, and types for Directory catalogs through SHOW INDEX (#66637; apache/doris-website#4090).
  • Show index names, UUIDs, columns, types, and dataset versions. Implementation/tests are merged in #66637 / #66671; user documentation for the physical lance_index_entries TVF remains outstanding. REST inspection is outside this delivery scope.
  • Replace or rebuild an index with the same name.
  • Drop indexes by name.
  • Define authorization, concurrency, versioning, failure recovery, and metadata refresh semantics.

Completion criteria

  • FE statements and metadata APIs are implemented.
  • BE or service-side index operations are integrated with Lance.
  • Unit and regression tests cover create, inspect, replace, rebuild, drop, and failures.
  • User documentation describes syntax, lifecycle semantics, and limitations.
  • The behavior is verified for vector and scalar index types.

Delivery status — 2026-09-30

This summarizes the existing staged roadmap; it does not broaden the accepted mutation or inspection contract. Completion on branch-4.1 satisfies the parent feature matrix's branch criterion.

  • Merged read-only inspection: #66637 (SHOW INDEX, with apache/doris-website#4090) and #66671 (lance_index_entries, with physical UUID/dataset version and FE/BE/regression verification). The physical-TVF website documentation was deferred in #66671 and is not present in the current catalog guide, so the combined inspection delivery item is not yet fully checked.
  • Merged mutation foundations: #67275, #67201, #67235, and #67630 provide protocol/static validation, durable job state, admission, job inspection, and guards. They do not complete enabled end-to-end index mutation.
  • Still open: #67978 (dispatcher), #67754 (resolution/retention), #68668 (isolated worker), and #68669 (tracer/fault tests). The mutation gate remains off. Scalar lifecycle coverage, acceptance evidence, and user documentation still need completion before marking create/replace/rebuild/drop done.

The issue remains open. The original combined completion criteria still cover the unfinished lifecycle, not only the delivered inspection slice.