Skip to content

FastVectorHighlighter should use ValueFetchers to load source data #87445

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

Merged
merged 2 commits into from
Jun 8, 2022

Conversation

romseygeek
Copy link
Contributor

FVH was relying on SourceLookup.extractRawValues() to load its data, but this no
longer works for multifields. It should instead use value fetchers which will correctly
locate the input for multifields and/or copy fields.

Fixes #84690
Fixes #82458
Fixes #80895
Fixes #75011

Backport of #85815

…lastic#85815)

FVH was relying on `SourceLookup.extractRawValues()` to load its data, but this no
longer works for multifields. It should instead use value fetchers which will correctly
locate the input for multifields and/or copy fields.

Fixes elastic#84690
Fixes elastic#82458
Fixes elastic#80895
Fixes elastic#75011
@romseygeek romseygeek requested a review from jtibshirani June 7, 2022 09:11
@romseygeek romseygeek self-assigned this Jun 7, 2022
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jun 7, 2022
@elasticmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @romseygeek, I've created a changelog YAML for you.

Copy link
Contributor

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

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

Thanks @romseygeek !

@romseygeek romseygeek merged commit 4b1ec9c into elastic:7.17 Jun 8, 2022
@romseygeek romseygeek deleted the highlight/fvh-source-fix branch June 8, 2022 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search Relevance/Highlighting How a query matched a document Team:Search Meta label for search team v7.17.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants