How delete_by_query works internally?

Hi,
I am using delete_by_query plugin to delete the documents based on date range criteria, ES version is 2.3.

When I run the query using java API I get the response of type DeleteByQueryResponse holding some fields like TookInMillis, TotalDeleted, TotalMissing etc.

In my case program run for 1704369 ms (calculated by start and end of the program)

and response from Es is TookInMillis: 12340444|TotalDeleted: 38997403|TotalFound: 38997482|TotalMissing: 0|TotalFailed: 79

Here I see huge difference between the timings. How its been calculated by ES ? How I can make it synchronous?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.