Quote:
1. Why Child id is stored in Parent document?
There are several reasons, but I'm not sure about if they are still all applying to latest versions; I'll raise the issue on the developer mailing list. Feel free to join ;)
http://www.hibernate.org/community/mailinglistsQuote:
2. Is there a way to remove Child id from Parent document?
There's no option to control that with the current implementation of @IndexedEmbedded, you could of course use a custom fieldbridge instead of that and then add all of child's names. Simple workaround, but viable only if you don't have many fields to add as it would quickly become complex code (you have only "name" right?).
Is this really significant, what's the impact on your index size?