App search parent child relationships

Hello, we are evaluating app search vs regular elasticsearch, does app search support parent/child relationships? I can't find any mention of it in the docs. Thank you!

Hey @arjunyel,

App Search does not support parent/child relationships.

Our typical recommendation in these cases is to include the child data within the parent.

{
  "name": "Some parent document",
  "child.property1": "Some child document property", 
  "child.property2": "Some other child document property",
}

The above works well for a one-to-one relationship. One-to-many relationships can be a bit trickier.

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