parameters: (self, alias, new_index=None, body=None, params=None)
return_statement: return self.transport.perform_request('POST', _make_path(alias,
              '_rollover', new_index), params=params, body=body)
docstring: The rollover index API rolls an alias over to a new index when the
          existing index is considered to be too large or too old.
  
          The API accepts a single alias name and a list of conditions. The alias
          must point to a single index only. If the index satisfies the specified
          conditions then a new index is created and the alias is switched to
          point to the new alias.
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html>`_
  
          :arg alias: The name of the alias to rollover
          :arg new_index: The name of the rollover index
          :arg body: The conditions that needs to be met for executing rollover
          :arg dry_run: If set to true the rollover action will only be validated
              but not actually performed even if a condition matches. The default
              is false
          :arg master_timeout: Specify timeout for connection to master
          :arg timeout: Explicit operation timeout
          :arg wait_for_active_shards: Set the number of active shards to wait for
              on the newly created rollover index before the operation returns.
docstring_summary: The rollover index API rolls an alias over to a new index when the
          existing index is considered to be too large or too old.
docstring_tokens: The rollover index API rolls an alias over to a new index when the existing index is considered to be too large or too old .
function: def rollover(self, alias, new_index=None, body=None, params=None):
          """
          The rollover index API rolls an alias over to a new index when the
          existing index is considered to be too large or too old.
  
          The API accepts a single alias name and a list of conditions. The alias
          must point to a single index only. If the index satisfies the specified
          conditions then a new index is created and the alias is switched to
          point to the new alias.
          `<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html>`_
  
          :arg alias: The name of the alias to rollover
          :arg new_index: The name of the rollover index
          :arg body: The conditions that needs to be met for executing rollover
          :arg dry_run: If set to true the rollover action will only be validated
              but not actually performed even if a condition matches. The default
              is false
          :arg master_timeout: Specify timeout for connection to master
          :arg timeout: Explicit operation timeout
          :arg wait_for_active_shards: Set the number of active shards to wait for
              on the newly created rollover index before the operation returns.
          """
          if alias in SKIP_IN_PATH:
              raise ValueError("Empty value passed for a required argument 'alias'.")
          return self.transport.perform_request('POST', _make_path(alias,
              '_rollover', new_index), params=params, body=body)
function_tokens: def rollover ( self , alias , new_index = None , body = None , params = None ) : if alias in SKIP_IN_PATH : raise ValueError ( "Empty value passed for a required argument 'alias'." ) return self . transport . perform_request ( 'POST' , _make_path ( alias , '_rollover' , new_index ) , params = params , body = body )