We have covered a lot on Parent-Child Relationships in Elasticsearch, indexing, searching, aggregations and the challenges it could easily face. We shall continue out streak with exploring further into Parent Child Relationships. The parent-child relationship is similar in nature to the nested model: both allows us to associate one entity with another. The difference is that, with nested objects, all entities live within the same document while, with parent-child, the parent and children are completely separate documents.

Keep reading

We have been discussing extensively on Handling Relationships and Data Modeling in our series so far. The need to bridge the gap between flat mapping and the real world has made us focus on the following techniques.

  • Application-side joins
  • Data denormalization
  • Nested objects
Keep reading