[ES|QL controls] Add MV_INTERSECTS to multi-select control callout#264353
Merged
florent-leborgne merged 2 commits intomainfrom Apr 20, 2026
Merged
[ES|QL controls] Add MV_INTERSECTS to multi-select control callout#264353florent-leborgne merged 2 commits intomainfrom
florent-leborgne merged 2 commits intomainfrom
Conversation
Contributor
|
Pinging @elastic/experience-docs (Team:Docs) |
Contributor
|
Pinging @elastic/kibana-esql (Team:ESQL) |
2 tasks
Contributor
⏳ Build in-progress, with failures
Failed CI StepsTest Failures
History
|
The info callout shown when switching to multi-select mode now mentions both MV_CONTAINS and MV_INTERSECTS as valid functions to use. Adds a dedicated doc link for MV_INTERSECTS using the doc links service. Made-with: Cursor
The i18n check requires translations to use the same value keys as the source message. Since the callout now takes two values (mvContainsLink and mvIntersectsLink), the existing single-value translations are incompatible. Removing them so they fall back to English until the localization team re-translates. Made-with: Cursor
a1e8c98 to
3405fe6
Compare
nastasha-solomon
approved these changes
Apr 20, 2026
Contributor
|
Starting backport for target branches: 9.3, 9.4 https://github.com/elastic/kibana/actions/runs/24681327246 |
Contributor
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Apr 20, 2026
…out (#264353) (#264496) # Backport This will backport the following commits from `main` to `9.4`: - [[ES|QL controls] Add MV_INTERSECTS to multi-select control callout (#264353)](#264353) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Florent LB","email":"florent.leborgne@elastic.co"},"sourceCommit":{"committedDate":"2026-04-20T17:42:00Z","message":"[ES|QL controls] Add MV_INTERSECTS to multi-select control callout (#264353)\n\n## Summary\n\nThe info callout shown when switching an ES|QL control to multi-select\nmode previously only mentioned `MV_CONTAINS`. This PR updates it to also\nmention `MV_INTERSECTS`, which is equally valid for filtering\nmulti-value fields.\n\n- Updates the callout message to: _\"You must use MV_CONTAINS or\nMV_INTERSECTS in your ES|QL query for multi-select controls to work.\"_\n- Adds a `queryESQLMvIntersects` entry to the doc links service\n(`kbn-doc-links`) pointing to the [MV_INTERSECTS function\nreference](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/mv-functions/mv_intersects)\n- `MV_INTERSECTS` in the callout links to that doc page via the doc\nlinks service, consistent with how `MV_CONTAINS` links to the\nmulti-value controls guide\n\n## Test plan\n\n- [ ] Open an ES|QL control flyout, switch **Selections** to **Multi**,\nand verify the callout now reads \"You must use **MV_CONTAINS** or\n**MV_INTERSECTS** in your ES|QL query for multi-select controls to\nwork.\"\n- [ ] Confirm both function names are clickable links pointing to the\ncorrect docs pages.\n\nMade with [Cursor](https://cursor.com)","sha":"7b8115ef5e6f126b6d7f72ad5c1530760234bef0","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","Team:ESQL","backport:version","v9.4.0","v9.5.0","v9.3.4"],"title":"[ES|QL controls] Add MV_INTERSECTS to multi-select control callout","number":264353,"url":"https://github.com/elastic/kibana/pull/264353","mergeCommit":{"message":"[ES|QL controls] Add MV_INTERSECTS to multi-select control callout (#264353)\n\n## Summary\n\nThe info callout shown when switching an ES|QL control to multi-select\nmode previously only mentioned `MV_CONTAINS`. This PR updates it to also\nmention `MV_INTERSECTS`, which is equally valid for filtering\nmulti-value fields.\n\n- Updates the callout message to: _\"You must use MV_CONTAINS or\nMV_INTERSECTS in your ES|QL query for multi-select controls to work.\"_\n- Adds a `queryESQLMvIntersects` entry to the doc links service\n(`kbn-doc-links`) pointing to the [MV_INTERSECTS function\nreference](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/mv-functions/mv_intersects)\n- `MV_INTERSECTS` in the callout links to that doc page via the doc\nlinks service, consistent with how `MV_CONTAINS` links to the\nmulti-value controls guide\n\n## Test plan\n\n- [ ] Open an ES|QL control flyout, switch **Selections** to **Multi**,\nand verify the callout now reads \"You must use **MV_CONTAINS** or\n**MV_INTERSECTS** in your ES|QL query for multi-select controls to\nwork.\"\n- [ ] Confirm both function names are clickable links pointing to the\ncorrect docs pages.\n\nMade with [Cursor](https://cursor.com)","sha":"7b8115ef5e6f126b6d7f72ad5c1530760234bef0"}},"sourceBranch":"main","suggestedTargetBranches":["9.4","9.3"],"targetPullRequestStates":[{"branch":"9.4","label":"v9.4.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/264353","number":264353,"mergeCommit":{"message":"[ES|QL controls] Add MV_INTERSECTS to multi-select control callout (#264353)\n\n## Summary\n\nThe info callout shown when switching an ES|QL control to multi-select\nmode previously only mentioned `MV_CONTAINS`. This PR updates it to also\nmention `MV_INTERSECTS`, which is equally valid for filtering\nmulti-value fields.\n\n- Updates the callout message to: _\"You must use MV_CONTAINS or\nMV_INTERSECTS in your ES|QL query for multi-select controls to work.\"_\n- Adds a `queryESQLMvIntersects` entry to the doc links service\n(`kbn-doc-links`) pointing to the [MV_INTERSECTS function\nreference](https://www.elastic.co/docs/reference/query-languages/esql/functions-operators/mv-functions/mv_intersects)\n- `MV_INTERSECTS` in the callout links to that doc page via the doc\nlinks service, consistent with how `MV_CONTAINS` links to the\nmulti-value controls guide\n\n## Test plan\n\n- [ ] Open an ES|QL control flyout, switch **Selections** to **Multi**,\nand verify the callout now reads \"You must use **MV_CONTAINS** or\n**MV_INTERSECTS** in your ES|QL query for multi-select controls to\nwork.\"\n- [ ] Confirm both function names are clickable links pointing to the\ncorrect docs pages.\n\nMade with [Cursor](https://cursor.com)","sha":"7b8115ef5e6f126b6d7f72ad5c1530760234bef0"}},{"branch":"9.3","label":"v9.3.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Florent LB <florent.leborgne@elastic.co>
This was referenced Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The info callout shown when switching an ES|QL control to multi-select mode previously only mentioned
MV_CONTAINS. This PR updates it to also mentionMV_INTERSECTS, which is equally valid for filtering multi-value fields.queryESQLMvIntersectsentry to the doc links service (kbn-doc-links) pointing to the MV_INTERSECTS function referenceMV_INTERSECTSin the callout links to that doc page via the doc links service, consistent with howMV_CONTAINSlinks to the multi-value controls guideTest plan
Made with Cursor