-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update semantic_text query to use highlighting option #205795
Update semantic_text query to use highlighting option #205795
Conversation
cda8a3d
to
368a0c0
Compare
6dae019
to
1f132d5
Compare
x-pack/solutions/search/plugins/search_playground/public/utils/create_query.ts
Outdated
Show resolved
Hide resolved
This looks good so far! Theres likely going to be a number of units failing for this so need to run the test suite for this and fix the snapshots. |
x-pack/solutions/search/plugins/search_playground/public/utils/create_query.ts
Outdated
Show resolved
Hide resolved
acb6955
to
bc2976c
Compare
bc2976c
to
2000496
Compare
2000496
to
cf0334d
Compare
x-pack/solutions/search/plugins/search_playground/server/utils/get_value_for_selected_field.ts
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
Starting backport for target branches: 8.x |
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
This PR addresses [this issue](elastic/search-team#8928) by replacing the current semantic_text implementation, which uses inner_hit, with semantic_text highlighting. https://github.com/user-attachments/assets/bac8abf7-ec50-4463-b0ad-d3152872253a --------- Co-authored-by: Joseph McElroy <[email protected]> Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 575d57e)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#207125) # Backport This will backport the following commits from `main` to `8.x`: - [Update semantic_text query to use highlighting option (#205795)](#205795) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Saikat Sarkar","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-17T18:42:15Z","message":"Update semantic_text query to use highlighting option (#205795)\n\nThis PR addresses [this\r\nissue](elastic/search-team#8928) by replacing\r\nthe current semantic_text implementation, which uses inner_hit, with\r\nsemantic_text highlighting.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bac8abf7-ec50-4463-b0ad-d3152872253a\r\n\r\n---------\r\n\r\nCo-authored-by: Joseph McElroy <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"575d57e8fa7c75e1cf5549c839acb5a7d901611a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:EnterpriseSearch","backport:prev-minor","v8.18.0"],"title":"Update semantic_text query to use highlighting option","number":205795,"url":"https://github.com/elastic/kibana/pull/205795","mergeCommit":{"message":"Update semantic_text query to use highlighting option (#205795)\n\nThis PR addresses [this\r\nissue](elastic/search-team#8928) by replacing\r\nthe current semantic_text implementation, which uses inner_hit, with\r\nsemantic_text highlighting.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bac8abf7-ec50-4463-b0ad-d3152872253a\r\n\r\n---------\r\n\r\nCo-authored-by: Joseph McElroy <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"575d57e8fa7c75e1cf5549c839acb5a7d901611a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205795","number":205795,"mergeCommit":{"message":"Update semantic_text query to use highlighting option (#205795)\n\nThis PR addresses [this\r\nissue](elastic/search-team#8928) by replacing\r\nthe current semantic_text implementation, which uses inner_hit, with\r\nsemantic_text highlighting.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/bac8abf7-ec50-4463-b0ad-d3152872253a\r\n\r\n---------\r\n\r\nCo-authored-by: Joseph McElroy <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"575d57e8fa7c75e1cf5549c839acb5a7d901611a"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Saikat Sarkar <[email protected]>
This PR addresses [this issue](elastic/search-team#8928) by replacing the current semantic_text implementation, which uses inner_hit, with semantic_text highlighting. https://github.com/user-attachments/assets/bac8abf7-ec50-4463-b0ad-d3152872253a --------- Co-authored-by: Joseph McElroy <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
This PR addresses [this issue](elastic/search-team#8928) by replacing the current semantic_text implementation, which uses inner_hit, with semantic_text highlighting. https://github.com/user-attachments/assets/bac8abf7-ec50-4463-b0ad-d3152872253a --------- Co-authored-by: Joseph McElroy <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
This PR addresses this issue by replacing the current semantic_text implementation, which uses inner_hit, with semantic_text highlighting.
Screen.Recording.2025-01-10.at.1.35.06.PM.mov