Skip to content

Adjust DotExpandingXContentParser behaviour#83313

Merged
javanna merged 7 commits intoelastic:masterfrom
javanna:fix/dot_expanding_parser
Jan 31, 2022
Merged

Adjust DotExpandingXContentParser behaviour#83313
javanna merged 7 commits intoelastic:masterfrom
javanna:fix/dot_expanding_parser

Conversation

@javanna
Copy link
Copy Markdown
Contributor

@javanna javanna commented Jan 31, 2022

With #79922 we have introduced a parser that expands dots in fields names on the fly, so that the expansion no longer needs to be handled by consumers.

The currentName method of such parser was not returning all the time the expected name, compared to the corresponding parser that receives as input the document with expanded fields.

This commit expands testing and addresses the issues that were found.

With elastic#79922 we have introduced a parser that expands dots in fields names on the fly, so that the expansion no longer needs to be handled by consumers.

The currentName method of such parser was not returning all the time the expected name, compared to the corresponding parser that receives as input the document with expanded fields.

This commit expands testing and addresses the issues that were found.
@javanna javanna added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types v8.1.0 labels Jan 31, 2022
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jan 31, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@javanna javanna added >non-issue and removed >bug labels Jan 31, 2022
@javanna javanna requested a review from romseygeek January 31, 2022 10:30
Copy link
Copy Markdown
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, and thanks for adding more clarifying comments.

@javanna javanna merged commit 4bf3068 into elastic:master Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Meta label for search team v8.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants