GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/321

    Enh: pminfo.lua - no need to use scroll if doc count < 10000

    ES has a default maximum of 10000 for size+from in a single query.
    Scrolling is needed to handle larger sizes; but scroll contexts are costly, 
so avoid them unless necessary.
    
    Note: it looks like ES 5.0 has a better solution: search_after
    
    
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/search-request-search-after.html

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to