Skip to content

[Index Management] Fix mappings docs links#240028

Merged
SoniaSanzV merged 2 commits intoelastic:mainfrom
SoniaSanzV:index_management/fix_mappings_docs_links
Oct 27, 2025
Merged

[Index Management] Fix mappings docs links#240028
SoniaSanzV merged 2 commits intoelastic:mainfrom
SoniaSanzV:index_management/fix_mappings_docs_links

Conversation

@SoniaSanzV
Copy link
Contributor

@SoniaSanzV SoniaSanzV commented Oct 22, 2025

Fixes #222270

Summary

It seems that #219656 caused a regression in the mapping types documentation links. I've updated them to point to:
https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}

How to test

  • Navigate to Index Mapping (it doesn't matter if you test it in serverless or not)
  • Create a new index
  • Got to the mappings tab
  • Select some mapping type and verify that the documentation link redirect to a valid url
  • Save some mapping and click edit. Verify that the documentation link in the flyout also redirects to a valid url
Screenshot 2025-10-22 at 10 57 32 Screenshot 2025-10-22 at 10 57 41

@SoniaSanzV SoniaSanzV self-assigned this Oct 22, 2025
@SoniaSanzV SoniaSanzV requested review from a team as code owners October 22, 2025 08:58
@SoniaSanzV SoniaSanzV added Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels v9.2.0 v9.1.3 v9.3.0 v9.0.9 labels Oct 22, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and LGTM!

@SoniaSanzV SoniaSanzV added v9.2.1 and removed v9.2.0 labels Oct 24, 2025
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
aiAssistantManagementSelection 85.1KB 85.1KB +65.0B
indexManagement 699.2KB 699.2KB -46.0B
lists 128.6KB 128.6KB +65.0B
total +84.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 511.4KB 511.5KB +65.0B

History

cc @SoniaSanzV

Copy link
Contributor

@ElenaStoeva ElenaStoeva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes lgtm, tested locally

@SoniaSanzV SoniaSanzV merged commit de37192 into elastic:main Oct 27, 2025
13 checks passed
@SoniaSanzV SoniaSanzV deleted the index_management/fix_mappings_docs_links branch October 27, 2025 14:51
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.0, 9.1, 9.2

https://github.com/elastic/kibana/actions/runs/18845246215

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 27, 2025
Fixes elastic#222270

## Summary
It seems that elastic#219656 caused a
regression in the mapping types documentation links. I've updated them
to point to:

`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`

### How to test
* Navigate to Index Mapping (it doesn't matter if you test it in
serverless or not)
* Create a new index
* Got to the mappings tab
* Select some mapping type and verify that the documentation link
redirect to a valid url
* Save some mapping and click edit. Verify that the documentation link
in the flyout also redirects to a valid url
<img width="764" height="290" alt="Screenshot 2025-10-22 at 10 57 32"
src="https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0"
/>

<img width="1044" height="323" alt="Screenshot 2025-10-22 at 10 57 41"
src="https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb"
/>

(cherry picked from commit de37192)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 27, 2025
Fixes elastic#222270

## Summary
It seems that elastic#219656 caused a
regression in the mapping types documentation links. I've updated them
to point to:

`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`

### How to test
* Navigate to Index Mapping (it doesn't matter if you test it in
serverless or not)
* Create a new index
* Got to the mappings tab
* Select some mapping type and verify that the documentation link
redirect to a valid url
* Save some mapping and click edit. Verify that the documentation link
in the flyout also redirects to a valid url
<img width="764" height="290" alt="Screenshot 2025-10-22 at 10 57 32"
src="https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0"
/>

<img width="1044" height="323" alt="Screenshot 2025-10-22 at 10 57 41"
src="https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb"
/>

(cherry picked from commit de37192)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 27, 2025
Fixes elastic#222270

## Summary
It seems that elastic#219656 caused a
regression in the mapping types documentation links. I've updated them
to point to:

`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`

### How to test
* Navigate to Index Mapping (it doesn't matter if you test it in
serverless or not)
* Create a new index
* Got to the mappings tab
* Select some mapping type and verify that the documentation link
redirect to a valid url
* Save some mapping and click edit. Verify that the documentation link
in the flyout also redirects to a valid url
<img width="764" height="290" alt="Screenshot 2025-10-22 at 10 57 32"
src="https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0"
/>

<img width="1044" height="323" alt="Screenshot 2025-10-22 at 10 57 41"
src="https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb"
/>

(cherry picked from commit de37192)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
9.0
9.1
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@SoniaSanzV SoniaSanzV removed the v9.0.9 label Oct 27, 2025
kibanamachine added a commit that referenced this pull request Oct 27, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[Index Management] Fix mappings docs links
(#240028)](#240028)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sonia Sanz
Vivas","email":"sonia.sanzvivas@elastic.co"},"sourceCommit":{"committedDate":"2025-10-27T14:50:57Z","message":"[Index
Management] Fix mappings docs links (#240028)\n\nFixes
https://github.com/elastic/kibana/issues/222270\n\n## Summary\nIt seems
that #219656 caused a\nregression
in the mapping types documentation links. I've updated them\nto point
to:\n\n`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`\n\n###
How to test\n* Navigate to Index Mapping (it doesn't matter if you test
it in\nserverless or not)\n* Create a new index\n* Got to the mappings
tab\n* Select some mapping type and verify that the documentation
link\nredirect to a valid url\n* Save some mapping and click edit.
Verify that the documentation link\nin the flyout also redirects to a
valid url\n<img width=\"764\" height=\"290\" alt=\"Screenshot 2025-10-22
at 10 57
32\"\nsrc=\"https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0\"\n/>\n\n<img
width=\"1044\" height=\"323\" alt=\"Screenshot 2025-10-22 at 10 57
41\"\nsrc=\"https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb\"\n/>","sha":"de37192ae03871f7152ce8dca09f55871a8a03bf","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","backport:version","v9.1.3","v9.3.0","v9.0.9","v9.2.1"],"title":"[Index
Management] Fix mappings docs
links","number":240028,"url":"https://github.com/elastic/kibana/pull/240028","mergeCommit":{"message":"[Index
Management] Fix mappings docs links (#240028)\n\nFixes
https://github.com/elastic/kibana/issues/222270\n\n## Summary\nIt seems
that #219656 caused a\nregression
in the mapping types documentation links. I've updated them\nto point
to:\n\n`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`\n\n###
How to test\n* Navigate to Index Mapping (it doesn't matter if you test
it in\nserverless or not)\n* Create a new index\n* Got to the mappings
tab\n* Select some mapping type and verify that the documentation
link\nredirect to a valid url\n* Save some mapping and click edit.
Verify that the documentation link\nin the flyout also redirects to a
valid url\n<img width=\"764\" height=\"290\" alt=\"Screenshot 2025-10-22
at 10 57
32\"\nsrc=\"https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0\"\n/>\n\n<img
width=\"1044\" height=\"323\" alt=\"Screenshot 2025-10-22 at 10 57
41\"\nsrc=\"https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb\"\n/>","sha":"de37192ae03871f7152ce8dca09f55871a8a03bf"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","9.0","9.2"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/240028","number":240028,"mergeCommit":{"message":"[Index
Management] Fix mappings docs links (#240028)\n\nFixes
https://github.com/elastic/kibana/issues/222270\n\n## Summary\nIt seems
that #219656 caused a\nregression
in the mapping types documentation links. I've updated them\nto point
to:\n\n`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`\n\n###
How to test\n* Navigate to Index Mapping (it doesn't matter if you test
it in\nserverless or not)\n* Create a new index\n* Got to the mappings
tab\n* Select some mapping type and verify that the documentation
link\nredirect to a valid url\n* Save some mapping and click edit.
Verify that the documentation link\nin the flyout also redirects to a
valid url\n<img width=\"764\" height=\"290\" alt=\"Screenshot 2025-10-22
at 10 57
32\"\nsrc=\"https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0\"\n/>\n\n<img
width=\"1044\" height=\"323\" alt=\"Screenshot 2025-10-22 at 10 57
41\"\nsrc=\"https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb\"\n/>","sha":"de37192ae03871f7152ce8dca09f55871a8a03bf"}},{"branch":"9.0","label":"v9.0.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sonia Sanz Vivas <sonia.sanzvivas@elastic.co>
kibanamachine added a commit that referenced this pull request Oct 27, 2025
# Backport

This will backport the following commits from `main` to `9.2`:
- [[Index Management] Fix mappings docs links
(#240028)](#240028)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sonia Sanz
Vivas","email":"sonia.sanzvivas@elastic.co"},"sourceCommit":{"committedDate":"2025-10-27T14:50:57Z","message":"[Index
Management] Fix mappings docs links (#240028)\n\nFixes
https://github.com/elastic/kibana/issues/222270\n\n## Summary\nIt seems
that #219656 caused a\nregression
in the mapping types documentation links. I've updated them\nto point
to:\n\n`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`\n\n###
How to test\n* Navigate to Index Mapping (it doesn't matter if you test
it in\nserverless or not)\n* Create a new index\n* Got to the mappings
tab\n* Select some mapping type and verify that the documentation
link\nredirect to a valid url\n* Save some mapping and click edit.
Verify that the documentation link\nin the flyout also redirects to a
valid url\n<img width=\"764\" height=\"290\" alt=\"Screenshot 2025-10-22
at 10 57
32\"\nsrc=\"https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0\"\n/>\n\n<img
width=\"1044\" height=\"323\" alt=\"Screenshot 2025-10-22 at 10 57
41\"\nsrc=\"https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb\"\n/>","sha":"de37192ae03871f7152ce8dca09f55871a8a03bf","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Index
Management","Team:Kibana
Management","release_note:skip","backport:version","v9.1.3","v9.3.0","v9.0.9","v9.2.1"],"title":"[Index
Management] Fix mappings docs
links","number":240028,"url":"https://github.com/elastic/kibana/pull/240028","mergeCommit":{"message":"[Index
Management] Fix mappings docs links (#240028)\n\nFixes
https://github.com/elastic/kibana/issues/222270\n\n## Summary\nIt seems
that #219656 caused a\nregression
in the mapping types documentation links. I've updated them\nto point
to:\n\n`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`\n\n###
How to test\n* Navigate to Index Mapping (it doesn't matter if you test
it in\nserverless or not)\n* Create a new index\n* Got to the mappings
tab\n* Select some mapping type and verify that the documentation
link\nredirect to a valid url\n* Save some mapping and click edit.
Verify that the documentation link\nin the flyout also redirects to a
valid url\n<img width=\"764\" height=\"290\" alt=\"Screenshot 2025-10-22
at 10 57
32\"\nsrc=\"https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0\"\n/>\n\n<img
width=\"1044\" height=\"323\" alt=\"Screenshot 2025-10-22 at 10 57
41\"\nsrc=\"https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb\"\n/>","sha":"de37192ae03871f7152ce8dca09f55871a8a03bf"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","9.0","9.2"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/240028","number":240028,"mergeCommit":{"message":"[Index
Management] Fix mappings docs links (#240028)\n\nFixes
https://github.com/elastic/kibana/issues/222270\n\n## Summary\nIt seems
that #219656 caused a\nregression
in the mapping types documentation links. I've updated them\nto point
to:\n\n`https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/{field-data-type}`\n\n###
How to test\n* Navigate to Index Mapping (it doesn't matter if you test
it in\nserverless or not)\n* Create a new index\n* Got to the mappings
tab\n* Select some mapping type and verify that the documentation
link\nredirect to a valid url\n* Save some mapping and click edit.
Verify that the documentation link\nin the flyout also redirects to a
valid url\n<img width=\"764\" height=\"290\" alt=\"Screenshot 2025-10-22
at 10 57
32\"\nsrc=\"https://github.com/user-attachments/assets/bf87cbcd-49e5-4c3c-8715-a809aca2baa0\"\n/>\n\n<img
width=\"1044\" height=\"323\" alt=\"Screenshot 2025-10-22 at 10 57
41\"\nsrc=\"https://github.com/user-attachments/assets/ff0f3ea9-628a-4632-90de-a0dfc0021beb\"\n/>","sha":"de37192ae03871f7152ce8dca09f55871a8a03bf"}},{"branch":"9.0","label":"v9.0.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sonia Sanz Vivas <sonia.sanzvivas@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels Feature:Index Management Index and index templates UI release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v9.1.3 v9.1.7 v9.2.1 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

404 errors when clicking the documentation link for field types on the Index -> mappings page

5 participants