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 ...

Get Mastering Elasticsearch 5.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.