sebbASF opened a new issue #477: Bug: no need to sort after scroll URL: https://github.com/apache/incubator-ponymail/issues/477 The scroll API is most efficient when sorting by _doc. However if a different order is needed, it's generally more efficient to have ES do the search rather than perform the search in the client. It's certainly not efficient to do both, which is what currently happens in stats.lua and pminfo.lua (this is a hangover from when the code used scroll/scan)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
