As demonstrated in the comments of HSEARCH-3044 Open , executing a "delete-by-query" is currently quite cumbersome. We need to introduce high-level APIs.