Chapter 6. The Index Distribution Architecture
In the last chapter, we focused on improving the user search experience by showing you how you can leverage the did-you-mean functionality, which is implemented by term and phrase suggesters and then covered search-as-you-type, for instance, the 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 custom completion using n-grams. At last we discussed the synonyms implementation and the limitations of synonyms usage in some scenarios.
In this chapter, we will learn about creating a multi-node cluster and then we will cover the index distribution architecture in Elasticsearch, including 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 the default shard allocation...