From 04eabbbecd5c473ab32696c4ebe09979ec009a9e Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Wed, 8 Nov 2017 11:02:30 +0200 Subject: [PATCH] added missing chunk index --- indexes.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/indexes.yaml b/indexes.yaml index 93f8f646..a7446480 100644 --- a/indexes.yaml +++ b/indexes.yaml @@ -311,6 +311,14 @@ indexes: name: chunks_shard key: files_id: hashed +- collection: attachments.chunks + type: gridfs # index applies to gridfs database + index: + name: files_id_1_n_1 + unique: true + key: + files_id: 1 + n: 1 # Indexes for the journal collection