O'Reilly logo

Elasticsearch Server - Third Edition by Marek Rogoziński, Rafał Kuć

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Extending Your Index Structure

We started the previous chapter by learning how to deal with revised filtering in Elasticsearch 2.x and what to expect from it now. We also explored highlighting and how it can help us in improving the users' search experience. We discovered query validation in Elasticsearch and learned the ways of data sorting in Elasticsearch. Finally, we discussed query rewriting and how that affects our queries. By the end of this chapter, you will have learned the following topics:

  • Indexing tree-like structures
  • Indexing data that is not flat
  • Handling document relationships by using nested object and parent–child features
  • Modifying index structure by using Elasticsearch API

Indexing tree-like structures

Trees are everywhere. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required