hibernate/hibernate-search — pull request #621 by hferentschik (2014-05-26 20:56:55+00:00)
Title: HSEARCH-704

The key is the change in _ObjectInitializer#initializeObjects_.
Looks like this now:

void initializeObjects(EntityInfo[] entityInfos,
LinkedHashMap idToObjectMap,
ObjectInitializationContext objectInitializationContext

The loaded objects are kept in a LinkedHashMap. This way we have lookup via a map, but can also keep the order.

Thoughts?