Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Elasticsearch 5.x

You're reading from   Mastering Elasticsearch 5.x Master the intricacies of Elasticsearch 5 and use it to create flexible and scalable search solutions

Arrow left icon
Product type Paperback
Published in Feb 2017
Publisher Packt
ISBN-13 9781786460189
Length 428 pages
Edition 3rd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Bharvi Dixit Bharvi Dixit
Author Profile Icon Bharvi Dixit
Bharvi Dixit
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Revisiting Elasticsearch and the Changes 2. The Improved Query DSL FREE CHAPTER 3. Beyond Full Text Search 4. Data Modeling and Analytics 5. Improving the User Search Experience 6. The Index Distribution Architecture 7. Low-Level Index Control 8. Elasticsearch Administration 9. Data Transformation and Federated Search 10. Improving Performance 11. Developing Elasticsearch Plugins 12. Introducing Elastic Stack 5.0

Configuring an example multi-node cluster


Till now, we have been playing around with a single node cluster but since we are going into more detail about index architecture, it's important to know how things work in a multi-node cluster. Although we will look into detailed cluster configurations in Chapter 8, Elasticsearch Administration, we will start with creating a two-node cluster in this chapter to demonstrate the concepts clearly.

Let's start with installing Elasticsearch on two separate machines. Please make sure that both the machines exist on the same network and port 9200 and 9300 are open between them. Also, you need to have Java 1.8 or above installed on your machines and each machine should have at least 3 GB of RAM available since the default heap size (both min and max) used by Elasticsearch is 2 GB.

Note

If you have less amount of RAM available in your machines, you can alter and minimize the default Min and Max heap size after installing the Elasticsearch by editing these two...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime