Summary
In this chapter, we started with creating a multi-node cluster and then focused on 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 behavior. In addition to that, we also discussed what query execution preference is and how it allows us to choose where the queries are going to be executed. We finally covered two important considerations to keep in mind that is, splitting data on multiple paths and creating multiple document types inside an Elasticsearch index.
In the next chapter, we will cover some granular details of Apache Lucene scoring and how one can alter them and can choose the right scoring algorithm. We will also cover NRT searching and indexing, the transaction logs, and then will talk about segment merging and removed merge policies inside Elasticsearch 5.0. At the end of the chapter...