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

Fix issue with AnnotatedTextHighlighter and max_analyzed_offset #69028

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

matriv
Copy link
Contributor

@matriv matriv commented Feb 16, 2021

With the newly introduced max_analyzed_offset the analyzer of
AnnotatedTextHighlighter was wrapped twice with the
LimitTokenOffsetAnalyzer by mistake.

Follows: #67325

@matriv matriv added the :Search Relevance/Highlighting How a query matched a document label Feb 16, 2021
With the newly introduced `max_analyzed_offset` the analyzer of
`AnnotatedTextHighlighter` was wrapped twice with the
`LimitTokenOffsetAnalyzer` by mistake.

Follows: elastic#67325
@matriv matriv marked this pull request as ready for review February 16, 2021 13:40
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Feb 16, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

Copy link
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

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

LGTM

@matriv matriv merged commit 1e12c93 into elastic:master Feb 16, 2021
@matriv matriv deleted the fix-annotated-highlighter branch February 16, 2021 16:08
matriv added a commit that referenced this pull request Feb 16, 2021
…) (#69058)

With the newly introduced `max_analyzed_offset` the analyzer of
`AnnotatedTextHighlighter` was wrapped twice with the
`LimitTokenOffsetAnalyzer` by mistake.

Follows: #67325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search Relevance/Highlighting How a query matched a document Team:Search Meta label for search team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants