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)

Aggregating Datasets

Data aggregation provides us with a way to extract the information from a huge set of data and present it in a summary form. We can group the information in various buckets to get an idea of various categories or ranges. Let's take an example of a shopping site where we have complete data regarding products and their prices. Now, if we want to categorize the products into different price ranges, then we have to apply data aggregation. In the same way, we can also apply aggregation of product categories. In this chapter, we will cover the different types of aggregations that Elasticsearch provides, such as metrics, bucket, pipeline, and matrix aggregation. In this chapter, we are going to cover the following topics:

  • What is an aggregation framework?
  • Advantages of aggregations
  • Structure of aggregations
  • Metrics aggregations
  • Bucket aggregations
  • Pipeline...