Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Elasticsearch 5.x - Third Edition

You're reading from  Mastering Elasticsearch 5.x - Third Edition

Product type Book
Published in Feb 2017
Publisher Packt
ISBN-13 9781786460189
Pages 428 pages
Edition 3rd Edition
Languages

Table of Contents (20) Chapters

Mastering Elasticsearch 5.x - Third Edition
Credits
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Revisiting Elasticsearch and the Changes The Improved Query DSL Beyond Full Text Search Data Modeling and Analytics Improving the User Search Experience The Index Distribution Architecture Low-Level Index Control Elasticsearch Administration Data Transformation and Federated Search Improving Performance Developing Elasticsearch Plugins Introducing Elastic Stack 5.0

Discovery and recovery modules


When an Elasticsearch node is started, it looks out for an initial list of hosts which are master eligible to perform discovery of other nodes in the cluster. The default list of master eligible hosts is ["127.0.0.1", "[::1]"], which means by default that each Elasticsearch node can only discover itself and cannot find another node. This behavior was introduced in Elasticsearch version 2.0. Before that, Elasticsearch, by default, used to assume that the cluster was automatically formed by the nodes that declare the same cluster.name setting and can communicate with each other using multicast requests.

The process of forming a cluster and finding nodes is called discovery. The module responsible for discovery has two main purposes: electing a master and discovering new nodes within a cluster.

After the cluster is formed, a process called recovery is started. During the recovery process, Elasticsearch reads the metadata and the indices from the gateway, and prepares...

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 $15.99/month. Cancel anytime}