def add_alias(self, alias, indices, **kwargs):
indices = self.conn._validate_indices(indices)<EOL>return self.change_aliases(['<STR_LIT>', index, alias,<EOL>self._get_alias_params(**kwargs)]<EOL>for index in indices)<EOL>
Add an alias to point to a set of indices.
(See :ref:`es-guide-reference-api-admin-indices-aliases`)

:param alias: the name of an alias
:param indices: a list of indices