parameters: (self, **kwargs)
return_statement: return self
docstring: Add aliases to the index definition::
  
              i = Index('blog-v2')
              i.aliases(blog={}, published={'filter': Q('term', published=True)})
docstring_summary: Add aliases to the index definition::
docstring_tokens: Add aliases to the index definition ::
function: def aliases(self, **kwargs):
          """
          Add aliases to the index definition::
  
              i = Index('blog-v2')
              i.aliases(blog={}, published={'filter': Q('term', published=True)})
          """
          self._aliases.update(kwargs)
          return self
function_tokens: def aliases ( self , * * kwargs ) : self . _aliases . update ( kwargs ) return self