def update_mapping_meta(self, doc_type, values, indices=None):
indices = self._validate_indices(indices)<EOL>for index in indices:<EOL><INDENT>mapping = self.mappings.get_doctype(index, doc_type)<EOL>if mapping is None:<EOL><INDENT>continue<EOL><DEDENT>meta = mapping.get_meta()<EOL>meta.update(values)<EOL>mapping = {doc_type: {"<STR_LIT>": meta}}<EOL>self.indices.put_mapping(doc_type=doc_type, mapping=mapping, indices=indices)<EOL><DEDENT>
Update mapping meta
:param doc_type: a doc type or a list of doctypes
:param values: the dict of meta
:param indices: a list of indices
:return: