Skip to content

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Jan 29, 2025

Backports the following commits to 8.x:

…1176)

This commit introduces the `MappedFieldType#getDefaultHighlighter`, allowing a specific highlighter to be enforced for a field.
The semantic field mapper utilizes this new functionality to set the `semantic` highlighter as the default.
All other fields will continue to use the `unified` highlighter by default.
@jimczi jimczi added >non-issue :Search Relevance/Highlighting How a query matched a document backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.18.0 labels Jan 29, 2025
Copy link
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine merged commit 0db2f0a into elastic:8.x Jan 30, 2025
15 checks passed
@jimczi jimczi deleted the backport_121176 branch January 30, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >non-issue :Search Relevance/Highlighting How a query matched a document v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants