jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: DocumentStore.query limit parameter
Date Thu, 12 Dec 2013 08:49:40 GMT
On 2013-12-12 08:52, Marcel Reutegger wrote:
> Hi,
>
> yes, the returned documents must be sorted in ascending key
> order. though, I just noticed MongoDocumentStore does not
> add a sort() to the query and ascending order of the result is
> just a coincidence. MongoDB uses the index of the _id field
> and will likely return the documents in the correct order.
>
> I'll create an issue for the missing sort().
>
> Regards
>   Marcel

Ah, good thing I asked ;-)

This doesn't seem to have test coverage (will check, maybe H2 also 
orders by default).



Mime
View raw message