removed unique for now

This commit is contained in:
barisusakli
2014-10-15 15:25:51 -04:00
parent f2883c2c9f
commit 90224d2de3

View File

@@ -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});