Exercise/FOQElasticaBundle — Issue #68: Non-unique mapping field possible
Author: richardmiller
Created: 2012-01-26 10:04:01+00:00
State: open

As pointed out by @stof:

The bundle will currently never complain if you configure it to use a non-unique field for the mapping between ES and Doctrine

The best solution would probably be a validate command, checking all configured types.
It cannot be done in the DI extension as you don't have the Doctrine mapping yet and doing it at runtime would add overhead