From 90224d2de38e1490a075b797b5c950f34d2d4255 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 15 Oct 2014 15:25:51 -0400 Subject: [PATCH] removed unique for now --- src/database/mongo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/mongo.js b/src/database/mongo.js index 7b1d80f7f0..0a5c5db6ef 100644 --- a/src/database/mongo.js +++ b/src/database/mongo.js @@ -107,7 +107,7 @@ function createIndices() { createIndex('objects', {_key: 1, score: -1}, {background:true}); - createIndex('objects', {_key: 1, value: -1}, {background:true, unique: true}); + createIndex('objects', {_key: 1, value: -1}, {background:true}); createIndex('objects', {expireAt: 1}, {expireAfterSeconds:0, background:true}); createIndex('search', {content:'text'}, {background:true});