elasticsearch/elasticsearch — pull request #5858 by jpountz (2014-04-17 15:40:37+00:00)
Title: Remove RootMapper.validate and validate the routing key up-front.

RootMapper.validate was only used by the routing field mapper, which makes
buggy assumptions about how fields are indexed. For example, it assumes that
the index representation of a field is the same as its external representation.

Close #5844