hmarr/mongoengine — pull request #418 by kajic (2012-02-01 09:34:59+00:00)
Title: Creating geo2d indexes via meta["indexes"]

Hi! I've made it possible to explicitly create geo2d indexes on a field by prefixing it with a *. Much like you specify ascending/descending direction with +/-. It is useful to us when we need to create a geo2d index on a subfield of a DictField, and also to create geo2d indexes on subfields of custom fields. Previously we would do it directly through pymongo, something we'd very much like to avoid.