I\'m using mongoose with node.js. I was testing Time-To-Live features and set my documents to expire after X time in the db schema:
var adInfos = new mongoose.Sc
Mongoose doesn't ever drop indexes, so if you change the index attributes in your schema they won't take effect until after you manually drop the existing index.
Not sure what your collection name is, but in the shell it would be something like:
db.adInfos.dropIndex('created_1')
Use db.adInfos.getIndexes()
to see the indexes on the collection.