-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Index Management
This functionality is advertised in docs and provided by mongo shell, but not by nodejs driver.
I would like to take advantage of this feature when phasing out existing indexes. Instead of deleting them straight away, I would like them to be first hidden, and only after confirming that there is no performance regressions, deleted them.
I am currently using index synchronisation routine, which compares indexes defined in application code\configuration with ones existing on the live database, and then creates missing indexes and deletes excess indexes. I would like to add an option to hide excess indexes, instead of deleting them, however lack of hideIndex helper makes it very inconvenient as I have to use db.command for this instead.