DEV Community


Posted on

Pros and Cons of Parent/Child Vs Nested in elasticsearch?

I'm still unable to decide which one should i use. Finding hard to decide. Can someone give me a clear explanantion when to use Parent/Child relation and Nested relation based on

  1. large json object as a list within a document
  2. Size of list can be more than 50
  3. Staticstics Calculation
  4. Searching

Discussion (0)