In MongoDB, the db.collection.unhideIndex()
method unhides a hidden index.
A hidden index is one that’s hidden from the query planner. When you unhide an index, it is no longer hidden from the query planner, and it’s immediately available for use.
Continue reading