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)

Summary

In this chapter, we have covered the bottlenecks of Elasticsearch performance and how to improve it. We started with data sparsity and explained the reason for sparsity and how it impacts performance. After sparsity, we covered and explained different solutions to common problems. We explained stemming with examples and, after that, explained inconsistent scoring. We explained different ways to tune the indexing speed, such as bulk requests, smart use of Elasticsearch clusters, increasing refresh intervals, and disabling refresh and replicas. Then, we also covered how to tune search speed through allocating memory to the filesystem cache, faster hardware, document modeling, pre-index data, avoiding replicas, and so on. Finally, we covered how to tune search queries with the Profile API and how to tune for disk usage.

In the next chapter, we will cover how to aggregate...