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

[Backport 1.x] Fixes #321: fix highlight max_analyzer_offset field name to match OS … #324

Merged

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Aug 20, 2023

Description

Backports 8ad8057 from #322

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… name to match OS 2.2.0 (opensearch-project#322)

* Fixes opensearch-project#321: fix highlight max_analyzer_offset field name to match OS 2.2.0

Signed-off-by: Gideon Junge <[email protected]>

* extend existing highlighting unit test

Signed-off-by: Gideon Junge <[email protected]>

* Create > 2.2.0 unit test

Signed-off-by: Gideon Junge <[email protected]>

* Implement HighlightField level max_analyzer_offset

max_analyzer_offset can be set both on highlight in general, and on specific fields.

Signed-off-by: Gideon Junge <[email protected]>

---------

Signed-off-by: Gideon Junge <[email protected]>
(cherry picked from commit 8ad8057)
@Xtansia Xtansia force-pushed the backport/backport-322-to-1.x branch from 479c9b9 to bc08557 Compare August 20, 2023 22:43
@Xtansia Xtansia merged commit 90bc81e into opensearch-project:1.x Aug 22, 2023
@Xtansia Xtansia deleted the backport/backport-322-to-1.x branch August 22, 2023 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants