Of course, the structure of this schema tree is similar to that of the JSON document in listing 3.1. And this structure definitely looks more like a tree now than with the CSV file. The code to make this is also similar to the code to ingest and transform your CSV dataset:
In this section, you’ll see how to display the structure of an index within the Elasticsearch index. To see the structure of an index, you can type the following: