def delete_by!(params, request_options = {})
      res = delete_by(params, request_options)
      wait_task(res['taskID'], WAIT_TASK_DEFAULT_TIME_BEFORE_RETRY, request_options) if res
      res
    end
def delete_by!(params, request_options = {})
      res = delete_by(params, request_options)
      wait_task(res['taskID'], WAIT_TASK_DEFAULT_TIME_BEFORE_RETRY, request_options) if res
      res
    end
Delete all objects matching a query (doesn't work with actual text queries)
 This method deletes every record matching the filters provided and waits for the end of indexing
 @param params query parameters
 @param request_options contains extra parameters to send with your query