Skip to content
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

Add support for highlighting the new format of the semantic text field #119604

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Jan 6, 2025

This change adapts the semantic highlighter to work with the new format introduced in #119183.

This change adapts the semantic highlighter to work with the new format introduced in elastic#119183.
@jimczi jimczi added >non-issue :SearchOrg/Relevance Label for the Search (solution/org) Relevance team v9.0.0 v8.18.0 labels Jan 6, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-eng (Team:SearchOrg)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-relevance (Team:Search - Relevance)

@jimczi jimczi requested review from Mikep86 and kderusso January 6, 2025 17:33
Copy link
Member

@kderusso kderusso left a comment

Choose a reason for hiding this comment

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

Looks good overall. One question on tests, and some non blocking nits.

Copy link
Contributor

@Mikep86 Mikep86 left a comment

Choose a reason for hiding this comment

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

Looks good overall, left a few nit comments. However, I think we should remove references to the inference_metadata_fields capability before we merge.

jimczi and others added 4 commits January 7, 2025 11:25
…inference/highlight/SemanticTextHighlighter.java

Co-authored-by: Kathleen DeRusso <[email protected]>
…inference/highlight/SemanticTextHighlighter.java

Co-authored-by: Kathleen DeRusso <[email protected]>
@jimczi jimczi added the auto-backport Automatically create backport pull requests when merged label Jan 7, 2025
@jimczi jimczi merged commit 45383c8 into elastic:main Jan 7, 2025
16 checks passed
@jimczi jimczi deleted the semantic_text_highlight_new_format branch January 7, 2025 13:33
@jimczi jimczi added backport pending and removed auto-backport Automatically create backport pull requests when merged labels Jan 7, 2025
jimczi added a commit to jimczi/elasticsearch that referenced this pull request Jan 7, 2025
elastic#119604)

This change adapts the semantic highlighter to work with the new format introduced in elastic#119183.

Co-authored-by: Kathleen DeRusso <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Jan 7, 2025
#119604) (#119657)

This change adapts the semantic highlighter to work with the new format introduced in #119183.

Co-authored-by: Kathleen DeRusso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue :SearchOrg/Relevance Label for the Search (solution/org) Relevance team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants