I am using Symfony 2 with the Doctrine Mongodb ODM, and trying to create some indexes that work together with the fixtures I have already created and am trying to load with
php -f app/console doctrine:mongodb:fixtures:load
When I create indexes on my documents, loading the fixtures fails with
[Doctrine\ODM\MongoDB\MongoDBException]
Cannot execute unindexed queries on Updatemi\LibraryBundle\Document\UpdateTerm. Unindexed fields: update
Does ODM not generate the Indexes by itself?