elasticsearch/elasticsearch — pull request #6093 by brwe (2014-05-08 10:59:17+00:00)
Title: Check if root mapping is actually valid

When a mapping is declared and the type is known from the uri
then the type can be skipped in the body (see #4483). However,
there was no check if the given keys actually make a valid mapping.

closes #5864