Learning Elasticsearch

Store, search, and analyze your data with ease using Elasticsearch 5.x

Learning Elasticsearch

This ebook is included in a Mapt subscription
Abhishek Andhavarapu

1 customer reviews
Store, search, and analyze your data with ease using Elasticsearch 5.x
$0.00
$20.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781787128453
Paperback404 pages

Book Description

Elasticsearch is a modern, fast, distributed, scalable, fault tolerant, and open source search and analytics engine. You can use Elasticsearch for small or large applications with billions of documents. It is built to scale horizontally and can handle both structured and unstructured data. Packed with easy-to- follow examples, this book will ensure you will have a firm understanding of the basics of Elasticsearch and know how to utilize its capabilities efficiently.

You will install and set up Elasticsearch and Kibana, and handle documents using the Distributed Document Store. You will see how to query, search, and index your data, and perform aggregation-based analytics with ease. You will see how to use Kibana to explore and visualize your data.

Further on, you will learn to handle document relationships, work with geospatial data, and much more, with this easy-to-follow guide. Finally, you will see how you can set up and scale your Elasticsearch clusters in production environments.

Table of Contents

Chapter 1: Introduction to Elasticsearch
Basic concepts of Elasticsearch
Interacting with Elasticsearch
How does search work?
Scalability and availability
Summary
Chapter 2: Setting Up Elasticsearch and Kibana
Installing Elasticsearch
Installing Kibana
Query format used in this book (Kibana Console)
Using cURL or Postman
Health of the cluster
Summary
Chapter 3: Modeling Your Data and Document Relations
Mapping
Difference between full-text search and exact match
Core data types
Complex data types
Geo data type
Specialized data type
Mapping the same field with different mappings
Handling relations between different document types
Routing
Summary
Chapter 4: Indexing and Updating Your Data
Indexing your data
Updating your data
Using Kibana to discover
Using Elasticsearch in your application
Concurrency
Translog
Primary and Replica shards
Summary
Chapter 5: Organizing Your Data and Bulk Data Ingestion
Bulk operations
Reindex API
Ingest Node
Organizing your data
Shrink API
Summary
Chapter 6: All About Search
Different types of queries
Sample data
Querying Elasticsearch
Relevance
Searching for same value across multiple fields
Caching
Summary
Chapter 7: More Than a Search Engine (Geofilters, Autocomplete, and More)
Sample data
Correcting typos and spelling mistakes
Making suggestions based on the user input
Highlighting
Handling document relations using parent-child
Handling document relations using nested
Scripting
Post Filter
Reverse search using the percolate query
Geo and Spatial Filtering
Multi search
Search templates
Querying Elasticsearch from Java application
Summary
Chapter 8: How to Slice and Dice Your Data Using Aggregations
Aggregation basics
Types of aggregations
Using Kibana to visualize aggregations
Caching
Doc values
Field data
Summary
Chapter 9: Production and Beyond
Configuring Elasticsearch
Multinode cluster
How nodes discover each other
X-Pack
Monitoring
Thread pools
Elasticsearch server logs
Summary
Chapter 10: Exploring Elastic Stack (Elastic Cloud, Security, Graph, and Alerting)
Elastic Cloud
Security
Graph
Alerting
Summary

What You Will Learn

  • See how to set up and configure Elasticsearch and Kibana
  • Know how to ingest structured and unstructured data using Elasticsearch
  • Understand how a search engine works and the concepts of relevance and scoring
  • Find out how to query Elasticsearch with a high degree of performance and scalability
  • Improve the user experience by using autocomplete, geolocation queries, and much more
  • See how to slice and dice your data using Elasticsearch aggregations.
  • Grasp how to use Kibana to explore and visualize your data
  • Know how to host on Elastic Cloud and how to use the latest X-Pack features such as Graph and Alerting

Authors

Table of Contents

Chapter 1: Introduction to Elasticsearch
Basic concepts of Elasticsearch
Interacting with Elasticsearch
How does search work?
Scalability and availability
Summary
Chapter 2: Setting Up Elasticsearch and Kibana
Installing Elasticsearch
Installing Kibana
Query format used in this book (Kibana Console)
Using cURL or Postman
Health of the cluster
Summary
Chapter 3: Modeling Your Data and Document Relations
Mapping
Difference between full-text search and exact match
Core data types
Complex data types
Geo data type
Specialized data type
Mapping the same field with different mappings
Handling relations between different document types
Routing
Summary
Chapter 4: Indexing and Updating Your Data
Indexing your data
Updating your data
Using Kibana to discover
Using Elasticsearch in your application
Concurrency
Translog
Primary and Replica shards
Summary
Chapter 5: Organizing Your Data and Bulk Data Ingestion
Bulk operations
Reindex API
Ingest Node
Organizing your data
Shrink API
Summary
Chapter 6: All About Search
Different types of queries
Sample data
Querying Elasticsearch
Relevance
Searching for same value across multiple fields
Caching
Summary
Chapter 7: More Than a Search Engine (Geofilters, Autocomplete, and More)
Sample data
Correcting typos and spelling mistakes
Making suggestions based on the user input
Highlighting
Handling document relations using parent-child
Handling document relations using nested
Scripting
Post Filter
Reverse search using the percolate query
Geo and Spatial Filtering
Multi search
Search templates
Querying Elasticsearch from Java application
Summary
Chapter 8: How to Slice and Dice Your Data Using Aggregations
Aggregation basics
Types of aggregations
Using Kibana to visualize aggregations
Caching
Doc values
Field data
Summary
Chapter 9: Production and Beyond
Configuring Elasticsearch
Multinode cluster
How nodes discover each other
X-Pack
Monitoring
Thread pools
Elasticsearch server logs
Summary
Chapter 10: Exploring Elastic Stack (Elastic Cloud, Security, Graph, and Alerting)
Elastic Cloud
Security
Graph
Alerting
Summary

Book Details

ISBN 139781787128453
Paperback404 pages
Read More
From 1 reviews

Read More Reviews