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

IndexRequestBuilder.setSource(Map<String, Object> source) does not handle BigDecimal #5260

Closed
nickminutello opened this issue Feb 26, 2014 · 2 comments

Comments

@nickminutello
Copy link

Although XContentBuilder has support for BigDecimal, the XContentBuilder.writeMap() - or in fact XContentBuilder.writeValue() does not have specific treatment for BigDecimal (or BigInteger)

The result is that BigDecimal gets indexed as a string.

@jprante
Copy link
Contributor

jprante commented Apr 4, 2014

see pull request at #5683

@clintongormley
Copy link
Contributor

Closing in favour of #5683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants