GitHub user sebbASF opened an issue:

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

    Bug: stats.lua ignores maxresults if it is > 10000

    If maxresults is < 10000, then at most maxresults will be returned, because 
the query uses the size=maxresults parameter.
    
    If maxresults is > 10000 then stats.lua has to use scan/scroll to fetch the 
results.
    
    Now when using scrolling, the size parameter is the max number of results 
per batch and if using scan/scroll it is the maximum results per shard per 
batch. It does not control the total responses; the scrolling only stops when 
no more results are available.
    
    So when using scrolling the maxresults limit is ignored.


----

----


---
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