The incoming_type_url filter in rust/lance/src/index.rs (introduced in #6593) excludes same-name indices with a different index_details.type_url from removed_indices, so committing segments under an existing name of another type publishes both logical indices side by side. This diverges from CreateIndexBuilder replace semantics (removes every same-name index regardless of type, rust/lance/src/index/create.rs) and the coexisting entries break load_index_by_name ("Found multiple indices of the same name", rust/lance/src/index/api.rs). The retention behavior is untested. Either reject the type mismatch with a descriptive error or replace all same-name indices to match the builder path. Noted during review of #6806.
The
incoming_type_urlfilter inrust/lance/src/index.rs(introduced in #6593) excludes same-name indices with a differentindex_details.type_urlfromremoved_indices, so committing segments under an existing name of another type publishes both logical indices side by side. This diverges fromCreateIndexBuilderreplace semantics (removes every same-name index regardless of type,rust/lance/src/index/create.rs) and the coexisting entries breakload_index_by_name("Found multiple indices of the same name",rust/lance/src/index/api.rs). The retention behavior is untested. Either reject the type mismatch with a descriptive error or replace all same-name indices to match the builder path. Noted during review of #6806.