Book Image

Elasticsearch 7 Quick Start Guide

By : Anurag Srivastava, Douglas Miller
Book Image

Elasticsearch 7 Quick Start Guide

By: Anurag Srivastava, Douglas Miller

Overview of this book

Elasticsearch is one of the most popular tools for distributed search and analytics. This Elasticsearch book highlights the latest features of Elasticsearch 7 and helps you understand how you can use them to build your own search applications with ease. Starting with an introduction to the Elastic Stack, this book will help you quickly get up to speed with using Elasticsearch. You'll learn how to install, configure, manage, secure, and deploy Elasticsearch clusters, as well as how to use your deployment to develop powerful search and analytics solutions. As you progress, you'll also understand how to troubleshoot any issues that you may encounter along the way. Finally, the book will help you explore the inner workings of Elasticsearch and gain insights into queries, analyzers, mappings, and aggregations as you learn to work with search results. By the end of this book, you'll have a basic understanding of how to build and deploy effective search and analytics solutions using Elasticsearch.
Table of Contents (10 chapters)

Many as One – the Distributed Model

Every single server of Elasticsearch is considered a node, and multiple nodes form a cluster. Elasticsearch uses clusters to provide scalability and redundancy. If a search is performed on a cluster, all of the nodes within it will be included in the search. For the most productive environment, it is best to use multiple nodes on different machines, with each one performing a specific task. A less efficient route is to use multiple nodes on the same machine—this is undoubtedly slower and is only really appropriate when testing high-availability features.–

Elasticsearch stores JSON documents and uses Lucene as a backend search engine. It indexes the documents, as well as their contents, so queries can be performed on fields as well. This makes searching very easy. Simple queries can be built using a field name or full text...