<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_index_alias(es, index_name, alias_name):
 """Add index alias to index_name"""


    es.indices.put_alias(index=index_name, name=terms_alias)