You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/12/12 08:59:18 UTC

[jira] [Created] (OAK-1280) MongoDocumentStore does not sort result

Marcel Reutegger created OAK-1280:
-------------------------------------

             Summary: MongoDocumentStore does not sort result
                 Key: OAK-1280
                 URL: https://issues.apache.org/jira/browse/OAK-1280
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, mongomk
    Affects Versions: 0.13
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
            Priority: Minor


The query() methods in MongoDocumentStore do not apply a sort() to the query result and therefore do not guarantee correct ordering of returned document. The current behavior is most likely correct even without the sort() because MongoDB has an index on the _id field and uses that index for the query evaluation.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)