MongoEngine/mongoengine — pull request #364 by wojcikstefan (2013-06-07 00:20:10+00:00)
Title: Nice way to check if there are any extra/missing indexes in your database

Since the old indexes don't get cleaned up, if we modify or remove them from the `meta['indexes']`, methods introduced here can help a lot with keeping your db clean.

Check the unit tests for examples.