docs: def refresh(self, indices=None, timesleep=None, timeout=0):
          """
          Refresh one or more indices
          If a bulk is full, it sends it.
          (See :ref:`es-guide-reference-api-admin-indices-refresh`)
  
          :keyword indices: an index or a list of indices
          :keyword timesleep: seconds to wait
          :keyword timeout: seconds to wait before timing out when waiting for
              the cluster's health.
          """
          self.conn.force_bulk()
          path = self.conn._make_path(indices, (), '_refresh', allow_all_indices=False)
          result = self.conn._send_request('POST', path)
          if timesleep:
              time.sleep(timesleep)
          self.conn.cluster.health(wait_for_status='green', timeout=timeout)
          return result