parameters: (self, index=None, params=None)
return_statement: return self.transport.perform_request('GET', _make_path('_cat',
              'segments', index), params=params)
docstring: The segments command is the detailed view of Lucene segments per index.
          `<https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html>`_
  
          :arg index: A comma-separated list of index names to limit the returned
              information
          :arg bytes: The unit in which to display byte values, valid choices are:
              'b', 'k', 'kb', 'm', 'mb', 'g', 'gb', 't', 'tb', 'p', 'pb'
          :arg format: a short version of the Accept header, e.g. json, yaml
          :arg h: Comma-separated list of column names to display
          :arg help: Return help information, default False
          :arg s: Comma-separated list of column names or column aliases to sort
              by
          :arg v: Verbose mode. Display column headers, default False
docstring_summary: The segments command is the detailed view of Lucene segments per index.
          `<https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html>`_
docstring_tokens: The segments command is the detailed view of Lucene segments per index . <https : // www . elastic . co / guide / en / elasticsearch / reference / current / cat - segments . html > _
function: def segments(self, index=None, params=None):
          """
          The segments command is the detailed view of Lucene segments per index.
          `<https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-segments.html>`_
  
          :arg index: A comma-separated list of index names to limit the returned
              information
          :arg bytes: The unit in which to display byte values, valid choices are:
              'b', 'k', 'kb', 'm', 'mb', 'g', 'gb', 't', 'tb', 'p', 'pb'
          :arg format: a short version of the Accept header, e.g. json, yaml
          :arg h: Comma-separated list of column names to display
          :arg help: Return help information, default False
          :arg s: Comma-separated list of column names or column aliases to sort
              by
          :arg v: Verbose mode. Display column headers, default False
          """
          return self.transport.perform_request('GET', _make_path('_cat',
              'segments', index), params=params)
function_tokens: def segments ( self , index = None , params = None ) : return self . transport . perform_request ( 'GET' , _make_path ( '_cat' , 'segments' , index ) , params = params )