What Are Nested Fields
When a Packed Class Contains an Instance Field That Is a Packed Type, the Data for That Field Is Packed Directly into the Containing Class. the Field Is Known...
When a packed class contains an instance field that is a packed type, the data for that field is packed directly into the containing class. The field is known as a nested field . When reading from a nested field, a small object is created as a pointer to the data.
What is a nested data type?
Nested data types are structured data types for some common data patterns. Nested data types support structs, arrays, and maps. A struct is similar to a relational table. It groups object properties together.
How do I query a nested field in Elasticsearch?
You can search nested fields using dot notation that includes the complete path, such as obj1.name . Multi-level nesting is automatically supported, and detected, resulting in an inner nested query to automatically match the relevant nesting level, rather than root, if it exists within another nested query.