'Delete documents from one or more indices and one or more types based on a query.'

def delete_by_query(self, indices, doc_types, query, **query_params):

    path = self._make_path(indices, doc_types, '_query')
    body = {'query': query.serialize()}
    return self._send_request('DELETE', path, body, query_params)
