elasticsearch/elasticsearch — pull request #4822 by spinscale (2014-01-21 08:16:48+00:00)
Title: REST API: Consistent get field mapping response

If a get field mapping request is issued, and all but the field can be
found, the response should return an empty JSON object instead of a 404.

TODO: This uses exceptions to handle this specific case. By using exceptions
there might be problems with rolling upgrades. Not sure yet, if this is
the best approach.

Closes #4738