[Index Management] Add option to convert to lookup index in the manage index dropdown#233998
Conversation
…okup_in_manage_dropdown
…okup_in_manage_dropdown
…okup_in_manage_dropdown
|
Pinging @elastic/kibana-management (Team:Kibana Management) |
|
Hi @elastic/docs I wanted to ask about your opinion on the copy, especially around "Convert to lookup index". I'm wondering if the current version is good from your side or if you would prefer to call this action differently. |
There was a problem hiding this comment.
Some small copy suggestions. Some might not work due to space constraints. Lmk what you think.
Edit: just saw your question, "Convert to lookup index" sounds good to me. I'm wondering if we should highlight somewhere what are the main differences when an index is in lookup mode.
...home/index_list/details_page/convert_to_lookup_index_modal/convert_to_lookup_index_modal.tsx
Show resolved
Hide resolved
...pplication/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js
Outdated
Show resolved
Hide resolved
...pplication/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js
Outdated
Show resolved
Hide resolved
...pplication/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js
Outdated
Show resolved
Hide resolved
…okup_in_manage_dropdown
Hi @florent-leborgne, thank you for the feedback! |
|
During yesterday's team sync meeting we noticed that user can close the conversion modal and delete the source index which stops the reindex operation. This is also the case when reindexing documents in Upgrade Assistant - right after the reindexing starts user can navigate to Index Management and delete the index. After discussing this with @jovana-andjelkovic we decided to update the description in the confirm deletion modal to inform the user that the index deletion also affects reindexing operation. @florent-leborgne could you please take a look at the new copy added? List of changes:
|
florent-leborgne
left a comment
There was a problem hiding this comment.
Hi! Took a look at the new copy 👀
...home/index_list/details_page/convert_to_lookup_index_modal/convert_to_lookup_index_modal.tsx
Outdated
Show resolved
Hide resolved
..._list/details_page/convert_to_lookup_index_modal/convert_to_lookup_index_modal_container.tsx
Outdated
Show resolved
Hide resolved
...pplication/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js
Outdated
Show resolved
Hide resolved
…okup_in_manage_dropdown
...agement/public/application/hooks/use_convert_index_to_lookup/use_convert_index_to_lookup.tsx
Outdated
Show resolved
Hide resolved
x-pack/platform/plugins/shared/index_management/public/application/services/api.ts
Show resolved
Hide resolved
|
Previously, the reindexing service always created a unique pattern for new indices but now anything can be provided. It should make a check using the |
…okup_in_manage_dropdown
…okup_in_manage_dropdown
...agement/public/application/hooks/use_convert_index_to_lookup/use_convert_index_to_lookup.tsx
Outdated
Show resolved
Hide resolved
|
Created this pr to catch attempts to reindex to an existing index - #236011 |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
History
|
…e index dropdown (elastic#233998) ## Summary Closes elastic#233996 This PR introduces the core logic and UI for converting an index to a lookup index in Index Management, including a custom React hook, modal enhancements, and integration of the reindex service.
…e index dropdown (elastic#233998) ## Summary Closes elastic#233996 This PR introduces the core logic and UI for converting an index to a lookup index in Index Management, including a custom React hook, modal enhancements, and integration of the reindex service.



Summary
Closes #233996
This PR introduces the core logic and UI for converting an index to a lookup index in Index Management, including a custom React hook, modal enhancements, and integration of the reindex service.
Changes:
ConvertIndexToLookupModalwith latest design.useConvertIndexToLookuphook to handle the conversion logic.reindexServicewithindex_managementplugin.fetchIndicesCallto returnsettings.index.modeof the index.Demo
Screen.Recording.2025-09-11.at.10.56.16.mov
How to test
Note
If the index does not meet the requirements, the button will be disabled. For indices that already have a lookup mode, the button will not be visible at all.
Convert to lookup indexoption from theManage indexdropdownConvertChecklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breakinglabel should be applied in these situations.release_note:*label is applied per the guidelinesbackport:*labels.Release Note
Adds an option to convert an index to a lookup index in the manage index dropdown.