Document Modeling

I am trying to model this structure in ES:

A document has many exhibits. So my type would be Document, where a Document can have a parent or many children Documents.

So for example, If I do a full-text query and it might return a document B. If B is a child of document A (the parent), I can then see B in the results but also get a reference to A.

How can I model this relationship/query?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.