def flush(self, indexes=['_all'], refresh=False):
        path = self._make_path([','.join(indexes), '_flush'])
        args = {}
        if refresh:
            args['refresh'] = "true"
        self.send_request('POST', path, query_string_args=args)
        return True
Flush one or more indexes.
dataset/ETHPy150Open eriky/ESClient/esclient.py/ESClient.flush