Configure an Index So That It Properly Maintains the Relationships of Nested Arrays of Objects

Length: 00:15:22

Lesson Summary:

Field mappings in Elasticsearch support hierarchy. With Elasticsearch object fields, you can have fields within fields within fields and so on. When you start to mix arrays with objects, however, things can get a little weird. In order to store an array of object fields while maintaining field relationships, you must use a special data type called nested. I encourage you to follow along on the Linux Academy cloud servers as we demonstrate how to:

  • Create object fields
  • Demonstrate flattened arrays of objects
  • Configure arrays of objects to preserve their field relationships
  • Demonstrate the nested field effect using the search API


This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More