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
Get field mapping api doesn't honor pretty flag #6552
Labels
Comments
johtani
added a commit
to johtani/elasticsearch
that referenced
this issue
Dec 7, 2014
johtani
added a commit
to johtani/elasticsearch
that referenced
this issue
Dec 8, 2014
Change assertion more simple Use writeRawField if pretty off Closes elastic#6552
johtani
added a commit
to johtani/elasticsearch
that referenced
this issue
Dec 8, 2014
Fix two review comments Closes elastic#6552
johtani
added a commit
to johtani/elasticsearch
that referenced
this issue
Dec 9, 2014
Fix assertion only check ":{" Closes elastic#6552
johtani
added a commit
to johtani/elasticsearch
that referenced
this issue
Dec 9, 2014
Change an assertion using re-parse pretty printing Closes elastic#6552
johtani
added a commit
that referenced
this issue
Dec 11, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem is due to the use of
XContentHelper#writeRawField
inGetFieldMappingsResponse
which is great when dealing with the_source
field as we never want to prettify it, but in this case the output should be prettified if requested.Steps to reproduce:
The text was updated successfully, but these errors were encountered: