Skip to content

chore: use describe_indices for index inspection#5186

Open
ddupg wants to merge 1 commit into
lance-format:mainfrom
ddupg:feat/ddu-124-describe-indices
Open

chore: use describe_indices for index inspection#5186
ddupg wants to merge 1 commit into
lance-format:mainfrom
ddupg:feat/ddu-124-describe-indices

Conversation

@ddupg

@ddupg ddupg commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace deprecated list_indices() calls with describe_indices().
  • Update tests, examples, and docs to use IndexDescription fields.

Why

list_indices() is deprecated and can emit warning logs during index workflows. Since lance-ray already depends on pylance>=8.0.0b11, these call sites can use describe_indices() directly.

Testing

  • ruff check lance_ray/index.py lance_ray/search.py tests/test_distributed_indexing.py tests/test_distributed_search.py tests/test_vector_index_options.py examples/distribute_fts_index.py
  • python -m pytest -o addopts='' tests/test_vector_index_options.py tests/test_distributed_indexing.py tests/test_distributed_search.py -k "index or optimize_indices or select_vector_index" -vv -s

Change-Id: I8ebc908c3c5469e86b073d275efdbf0c5ab7ad18
@github-actions

Copy link
Copy Markdown
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@ddupg ddupg changed the title Use describe_indices for index inspection chore: use describe_indices for index inspection Jun 17, 2026
@github-actions github-actions Bot added the chore label Jun 17, 2026
@ddupg ddupg marked this pull request as ready for review June 18, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant