Now obviously, I could make a copy of the index, and run it against that , but I was hoping that there was a "TEST" option that run's the DELETE but does not apply the actual changes.
If you switch the endpoint from _update_by_query to _search and remove the
top level script element you can see the docs it will try to hit.
Another option is to run reindex into a new index with the same query and
look at the results. You can use the size parameter to stop after a certain
number of changes for faster testing.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.