Mappings: Deprecate `index_name`.

Close #6677