Mappings: Deprecate `index_name`.

Close #6677
Also check for MapperParsingException as root cause here?