doctrine/mongodb-odm — pull request #216 by spantaleev (2011-12-23 18:19:42+00:00)
Title: Allow discriminator fields to be indexed.

There is no mapping for discriminator fields, but that
doesn't mean it shouldn't be possible to create an index on them.
They're still valid document fields and often times
it makes perfect sense to query on them.