code: def flush(self, using=None, **kwargs):
          
          return self._get_connection(using).indices.flush(index=self._name, **kwargs)
docs: Preforms a flush operation on the index.
  
          Any additional keyword arguments will be passed to
          ``Elasticsearch.indices.flush`` unchanged.