I have 2 indices: index_old and index_new.
I want to re-index all the data from index_old to index_new, and after that I want to delete index_old.
I'm not sure if by the time I get the response from the re-index request, all the data has been re-indexed and I can safely delete index_old.
the code I'm using is:
ActionResponse response = ReindexAction.INSTANCE.newRequestBuilder(client).
Can someone help?