Commit d1bc22fb by christopher lee

Removed index dropping

parent 42f2a6da
......@@ -41,12 +41,3 @@ final_index_array.forEach(function(index_name)) {
print('Ensuring'.concat(index));
db.contents.ensureIndex(final_index_array[index_name]);
}
print('Dropping extra indexes');
final_index_array.forEach(function(index_name)) {
if (list_of_current_index_names.indexOf(index_name > -1);
print('Dropping'.concat(index));
db.contents.dropIndex(index);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment