Get different total number of returning result every time when using scroll search


I've used the scroll search to get all the records I want, but every time, I get different number of records, sometimes around 40000, sometimes around 20000, sometimes around 70000, I set the size of returning record is 100, and when the returning record is 0, and I decide that it is the last page and finish process the record. But every time, I get different number of total returning records, it's really odd, and I can't figure out where I do wrong, could you help?

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