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

Add toString and toXContent to IndexResponse #3871

Closed
wants to merge 1 commit into from

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Oct 10, 2013

Currently IndexResponse does not like other responses implement ToXContent and neither a toString method. We should try to be consistent here.

@dadoonet
Copy link
Member

+1!

@martijnvg
Copy link
Member

Looks good, but should we do this consistently for all response classes? (moving ToXContent from rest code to response classes and implement toString). Like: UpdateResponse, DeleteResponse, SearchResponse, ExplainResponse, DeleteByQueryResponse etc?

@s1monw
Copy link
Contributor Author

s1monw commented Oct 11, 2013

I completely agree - I will look into this soon hopefully

@s1monw
Copy link
Contributor Author

s1monw commented Mar 24, 2015

closing for now this didn't go anywhere

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

Successfully merging this pull request may close these issues.

4 participants