wildduck/indexes.json

238 lines
4.8 KiB
JSON
Raw Normal View History

2017-03-21 05:19:25 +08:00
[{
"collection": "users",
"indexes": [{
"name": "users",
"key": {
"username": 1
},
2017-06-13 18:24:55 +08:00
"unique": true,
"background": true
}, {
"name": "show_new",
"key": {
"created": -1
2017-06-13 18:24:55 +08:00
},
"background": true
}]
}, {
"collection": "addresses",
"indexes": [{
"name": "address",
"key": {
"address": 1
},
2017-06-13 18:24:55 +08:00
"unique": true,
"background": true
}, {
"name": "user",
"key": {
"user": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}]
}, {
"collection": "mailboxes",
"indexes": [{
"name": "find_by_user",
2017-03-21 05:19:25 +08:00
"key": {
"user": 1,
"path": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
"name": "user_subscribed",
"key": {
"user": 1,
2017-03-21 05:19:25 +08:00
"subscribed": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
"name": "find_by_type",
2017-03-21 05:19:25 +08:00
"key": {
"user": 1,
"specialUse": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}]
}, {
"collection": "messages",
"indexes": [{
"name": "mailbox_messages",
"key": {
"mailbox": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-30 01:06:09 +08:00
}, {
"name": "user_messages",
"key": {
"user": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
2017-05-23 22:17:54 +08:00
"name": "mailbox_uid",
2017-03-21 05:19:25 +08:00
"key": {
"mailbox": 1,
"uid": 1
2017-06-13 18:24:55 +08:00
},
"background": true
}, {
"name": "mailbox_modseq_uid",
"key": {
"mailbox": 1,
"modseq": 1,
"uid": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-04-03 21:59:04 +08:00
}, {
"name": "newer_first",
"key": {
"mailbox": 1,
"uid": -1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
"name": "mailbox_flags",
"key": {
"mailbox": 1,
"flags": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
"name": "by_modseq",
"key": {
"mailbox": 1,
2017-03-21 05:19:25 +08:00
"modseq": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
2017-04-13 16:35:39 +08:00
"name": "by_idate",
2017-03-21 05:19:25 +08:00
"key": {
"mailbox": 1,
2017-06-08 15:24:27 +08:00
"idate": 1,
"_id": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-06-08 15:24:27 +08:00
}, {
"name": "by_idate_newer",
"key": {
"mailbox": 1,
"idate": -1,
"_id": -1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-06-08 14:52:43 +08:00
}, {
"name": "by_idate_newer",
"key": {
"mailbox": 1,
"idate": -1,
2017-06-08 15:04:17 +08:00
"_id": -1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
2017-04-10 22:12:47 +08:00
"name": "by_hdate",
2017-03-21 05:19:25 +08:00
"key": {
"mailbox": 1,
2017-04-10 22:12:47 +08:00
"hdate": 1,
"msgid": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
"name": "by_size",
"key": {
"mailbox": 1,
2017-03-21 05:19:25 +08:00
"size": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-04-02 00:22:47 +08:00
}, {
"name": "by_headers",
"key": {
"mailbox": 1,
2017-04-02 00:22:47 +08:00
"headers.key": 1,
"headers.value": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-04-04 15:20:25 +08:00
}, {
"name": "fulltext",
"key": {
"mailbox": 1,
"text": "text"
2017-06-13 18:24:55 +08:00
},
"background": true
2017-04-04 19:46:51 +08:00
}, {
"name": "mailbox_seen_flag",
"key": {
"mailbox": 1,
"seen": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-04-04 19:46:51 +08:00
}, {
"name": "mailbox_deleted_flag",
"key": {
"mailbox": 1,
"deleted": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-04-04 19:46:51 +08:00
}, {
"name": "mailbox_flagged_flag",
"key": {
"mailbox": 1,
"flagged": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-04-15 23:28:19 +08:00
}, {
"name": "mailbox_draft_flag",
"key": {
"mailbox": 1,
"draft": 1
2017-06-13 18:24:55 +08:00
},
"background": true
}, {
2017-04-16 02:59:27 +08:00
"name": "has_attachment",
"key": {
"mailbox": 1,
2017-04-16 02:59:27 +08:00
"ha": 1
2017-06-13 18:24:55 +08:00
},
"background": true
}, {
"name": "retention_time",
"key": {
"exp": 1,
"rdate": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}]
}, {
2017-05-15 21:09:08 +08:00
"collection": "attachments.files",
2017-03-21 05:19:25 +08:00
"indexes": [{
2017-05-15 21:09:08 +08:00
"name": "attachment_hash",
2017-03-21 05:19:25 +08:00
"key": {
2017-05-15 21:09:08 +08:00
"metadata.h": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-05-15 21:09:08 +08:00
}, {
"name": "related_attachments",
"key": {
"metadata.c": 1,
"metadata.m": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}]
}, {
"collection": "journal",
"indexes": [{
"name": "mailbox_modseq",
"key": {
"mailbox": 1,
"modseq": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}, {
"name": "autoexpire",
"expireAfterSeconds": 21600,
2017-03-21 05:19:25 +08:00
"key": {
"created": 1
2017-06-13 18:24:55 +08:00
},
"background": true
2017-03-21 05:19:25 +08:00
}]
}]