DEV Community


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

I'm a self taught #android and #Java developer and looking forward to learn more cool stuffs in programming.
・1 min read

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)