Skip to content

XContentBuilder to handle BigInteger and BigDecimal (#32888)#34092

Merged
mayya-sharipova merged 1 commit intoelastic:6.xfrom
mayya-sharipova:xcontentbuilder-handle-bigintegerdecimal-6.x
Sep 26, 2018
Merged

XContentBuilder to handle BigInteger and BigDecimal (#32888)#34092
mayya-sharipova merged 1 commit intoelastic:6.xfrom
mayya-sharipova:xcontentbuilder-handle-bigintegerdecimal-6.x

Conversation

@mayya-sharipova
Copy link
Copy Markdown
Contributor

Backport for #32888

Running through PR only to make sure CI doesn't break.

Although we allow to index BigInteger and BigDecimal into a keyword
field, source filtering on these fields would fail
as XContentBuilder was not able to deserialize BigInteger and BigDecimal
to json.

This modifies XContentBuilder to allow to handle BigInteger and
BigDecimal.

Closes #32395

Although we allow to index BigInteger and BigDecimal into a keyword
field, source filtering on these fields would fail
as XContentBuilder was not able to deserialize BigInteger and BigDecimal
to json.

This modifies XContentBuilder to allow to handle BigInteger and
BigDecimal.

Closes elastic#32395
@mayya-sharipova mayya-sharipova merged commit 3c37ca5 into elastic:6.x Sep 26, 2018
@mayya-sharipova mayya-sharipova deleted the xcontentbuilder-handle-bigintegerdecimal-6.x branch September 26, 2018 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants