Allowing child document to choose parent type at index time?


I am not asking how to have multiple parents for a single child.
Rather, I am asking how to associate a child document to a parent that can be either of type X, Y, or Z? So still a single parent for the child document but chosen from multiple types at index time.

Is this possible at all?



as you have to configure the parent in the mapping, you can only configure one type as being the parent.