Hi dadoonet,
Thanks for reply.
I don't want to do n-n relations, what I want is for the Email-document to be able to have multiple parent TYPES, but only 1 parent per object.
By having multiple parent types email can have a parent of either "Company" OR "employee".
If that was possible i could create the following tree:
Google (Company, ID 1) -> Mr. Incredible (Employee, ID 2)
Google (Company, ID 1) -> google@google.com (email, ID 3)
Mr. Incredible (Employee, ID 2) -> mr.incredible@google.com (email, ID 4)
But it's not possible in parent/child mapping, right? With nested types it's easy, but then if any child changes I have to reindex the whole thing - And i expect to have a lot of child changes :).
Mr. Incredible.