Nested Objects concept explained

Nested objects and queries explained

Regular document of article post with comments from multiple users


Flattening of the document within Elasticsearch index

False match by non-existing user due to flattening above and search within two independent data sets

Nested objects introduction as another type of indexing

index with nested object

Nested query to find document correctly by user's correlated fields

Example of nested aggregation

Reverse nested aggregation example