You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2017/01/06 11:39:49 UTC

[GitHub] incubator-ponymail issue #322: Bug: scroll/scan ignores sort order

GitHub user sebbASF opened an issue:

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

    Bug: scroll/scan ignores sort order

    Using search_type=scan ignores any sort order in the query [1].
    
    Code which depends on the order needs to sort the results, or the order will be indeterminate.
    This applies to pminfo.lua currently (stats.lua already sorts to get round this).
    As a result, the thread count generated by pminfo.lua will not agree wit stats.lua
    
    Note: this is a temporary fix; scroll/scan is deprecated since 2.1 and dropped in 5.0.
    
    [1] https://www.elastic.co/guide/en/elasticsearch/reference/2.0/search-request-scroll.html#scroll-scan

----

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #322: Bug: scroll/scan ignores sort order

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the issue at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---