I'm using NEST and switching from using the DeleteMany method to DeleteByQuery so that I can quickly delete items where I only know the ID. DeleteByQuery also has an option for us to disable wait_for_completion. I read that this results in a task being created, and you can later cancel/delete that task. For my purposes, I don't want to do either. Can I update a global setting to clean up these completed tasks or what is the best course of action here?
Is this not something that should be well-documented?
As far as I know a delete-by-query task is always created, whether you set ?wait_for_completion or not. It should also be cleaned up on completion automatically.
Thank you. So in that case I should generally only see improvements in response times with the caveat that I'm not catching errors. Great!