Allow to import/export indexes
Add import/export index capability via Compass.
Would be nice to also to automatically generate the createIndexes (https://docs.mongodb.com/manual/reference/command/createIndexes/) command for build a set of indexes.
AdminAlex (Admin, MongoDB) commented
The article at https://www.alexbevi.com/blog/2021/09/24/copy-mongodb-index-definitions/ has a script that can be used to automatically generate the createIndexes commands.