(commit=False)
The equivalent of calling ::

        $ curl -X DELETE "$PROTO://$HOSTNAME:$PORT/_all"
The equivalent of calling ::
The equivalent of calling ::
def wipe_es(commit=False):
    """
    The equivalent of calling ::

        $ curl -X DELETE "$PROTO://$HOSTNAME:$PORT/_all"
    """
    es = get_es_new()
    client = IndicesClient(es)
    if commit:
        client.delete('_all')
def wipe_es ( commit = False ) : es = get_es_new ( ) client = IndicesClient ( es ) if commit : client . delete ( '_all' )