From a80b7d2b36979282995cdd7b5ca53a51a96f918a Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Thu, 8 Jun 2017 09:52:43 +0300 Subject: [PATCH] added index for sorting by idate, _id --- indexes.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/indexes.json b/indexes.json index e6f44b69..69b7ebcf 100644 --- a/indexes.json +++ b/indexes.json @@ -96,6 +96,13 @@ "mailbox": 1, "idate": 1 } + }, { + "name": "by_idate_newer", + "key": { + "mailbox": 1, + "idate": -1, + "_uid": -1 + } }, { "name": "by_hdate", "key": {