What a lengthy chapter! Our excuse is the slogan of Elasticsearch—You know, for Search. Elasticsearch supports many features, and the search functionality is one of the most important topics. We have experienced different types of searches, from term-based to full-text; from exact search to fuzzy search; from a single field search to a multi-search, and then to a compound search. In short, we have explored every avenue from a simple query to a complex query. We also learned a lot about the query DSL and search-related APIs.
In the next chapter, we will focus on data modeling techniques, and some of the most common problems in data modeling and their solutions involving a variety of techniques, including the use of nested objects and parent-child relationships to process related documents. Let's see how we will resolve the data modeling issue when Elasticsearch...