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)

Failure to obtain the required data

One of the most common outcomes in Elasticsearch is a failed search—that is, the user not getting the desired result from the search. There are many reasons for this; for example, it may be due to the analyzer used for the search. The standard analyzer will break the search term into individual components (for example, ecological footprint will become ecological and footprint). The term used in the search will not be used for indexing.

Another reason for failed searches might be the incompatibility of the search term with the analyzed text. Note that some queries perform text analysis automatically. Failed searches might also occur because the standard analyzer is performing stop word removal on words such as the and it. Another cause could be the difference between the match query and query strings that process the text; a match query...