algoliasearch/src/main/java/com/algolia/search/saas/Index.java
public Request deleteByQueryAsync(@NonNull Query query, @Nullable CompletionHandler completionHandler) {
        return deleteByQueryAsync(query, /* requestOptions: */ null, completionHandler);
    }
public Request deleteByQueryAsync(@NonNull Query query, @Nullable CompletionHandler completionHandler) {
        return deleteByQueryAsync(query, /* requestOptions: */ null, completionHandler);
    }
Deletes all objects matching a query (helper) using browse and deleteObjects.

@param query             The query that objects to delete must match.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.
@deprecated use {@link Index#deleteByAsync(Query, CompletionHandler)} instead.