spring-projects/spring-data-mongodb — pull request #168 by christophstrobl (2014-04-14 13:05:00+00:00)
Title: DATAMONGO-899 - Overhaul index creation.

Index creation did not consider the properties path when creating the index. This lead to broken index creation when nesting entities that might require index structures.

Off now index creation traverses the entities property path for all top level entities (namely those holding the `@Document` annotation) and creates the index using the full property path.

This is a breaking change as having an entity to carry the `@Document` annotation has not been required by now.