nested vs object in Elasticsearch
What your are calling "object" is probably "inner object" in elasticsearch.
Check this link to see the differences
Related videos on Youtube
TroodoN-Mike
I am a Senior Software Developer and most recently Head of Development. I am very proficient in Angular, having mastered over the last 4 years. I have been deeply involved with backend infrastructure in architecting efficient and well thought through system architecture.
Updated on January 24, 2022Comments
-
TroodoN-Mike over 2 years
Can someone explain what is a difference between "object" and "nested" fields in documents in Elasticsearch?
I know by default field is defined as object. I also know that I can access object field with a dot like this: my_field.name, my_field.title etc.
Documentation for object: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-object-type.html Documentation for nestes:http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-nested-type.html
but I still cant understand a difference...