Hello
I have recently started using the bulk operation to perform massive upgrades. I wanted to know what documents have been modified according to the query provided, to later obtain some data from the documents. When you run "bulk.getOperations();" I do not return only the changed documents, but all the queries executed and all the documents.
Is there any way to get the documents changed? The problem with running individual updates is that they are several million records running and the server is triggered in memory and CPU consumption, currently executing bulk in groups of 1000 querys, which I divide before. I only get the idea of getting the date before executing the bulk, use a date field with the current date in the update and once finished, look for the documents larger than that date.
Any ideas? Thank you.
Best regards