Suppose I created an index using:
db.collections.createIndex({'key': 1})
then will all new documents added to the collection with field 'key' automatically added in the index? Or do I need to run reIndex() after certain number of new documents?
Suppose I created an index using:
db.collections.createIndex({'key': 1})
then will all new documents added to the collection with field 'key' automatically added in the index? Or do I need to run reIndex() after certain number of new documents?