elasticsearch/elasticsearch — pull request #4889 by spinscale (2014-01-25 12:22:08+00:00)
Title: Cluster state toXContent serialization only returns needed data

In order to make sure, that only the requested data is returned to the client,
a couple of fixes have been applied in the ClusterState.toXContent() method.
Also some tests were added to the yaml test suite

Closes #4882