In this chapter, we focused on improving the user search experience. We started with working on did-you-mean functionality which is implemented by term and phrase suggesters and then covered search-as-you-type, for instance an auto-completion feature which is implemented using the
completion suggester. We also saw the limitations of the
completion suggester in handling advanced queries and partial matching, which was further solved by implementing our custom
completion using n-grams. Lastly, we discussed the synonyms implementation and the limitations of synonyms usage in some scenarios.
In the next chapter, we will discuss topics which will give you an expert idea of designing index architecture, such as choosing the right number of shards and replicas along with a detailed discussion on how routing works, how shard allocation works, and how to alter its behavior. In addition to that, the chapter discusses what query execution preference is and how it allows us to choose where the...