Skip to content

[7.x] Docvalueformat errors (#73121)#73863

Merged
not-napoleon merged 1 commit intoelastic:7.xfrom
not-napoleon:backport/7.x/pr-73121
Jun 7, 2021
Merged

[7.x] Docvalueformat errors (#73121)#73863
not-napoleon merged 1 commit intoelastic:7.xfrom
not-napoleon:backport/7.x/pr-73121

Conversation

@not-napoleon
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

Improve the error message when inconsistent mappings cause doc value formatting errors.  For example, trying to format a binary encoded IP address as a UTF8 string often fails with something unexpected, like `ArrayIndexOutOfBounds`.  This change catches that and wraps it with a message suggesting the user check their mappings.  Also gets rid of anonymous instances for doc value formatters, which made it hard to see what format was failing to be applied.
@not-napoleon not-napoleon merged commit 47d3d6a into elastic:7.x Jun 7, 2021
@not-napoleon not-napoleon deleted the backport/7.x/pr-73121 branch June 7, 2021 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant