Book description
Store, search, and analyze your data with ease using Elasticsearch 5.x
About This Book
Get to grips with the basics of Elasticsearch concepts and its APIs, and use them to create efficient applications
Create large-scale Elasticsearch clusters and perform analytics using aggregation
This comprehensive guide will get you up and running with Elasticsearch 5.x in no time
Who This Book Is For
If you want to build efficient search and analytics applications using Elasticsearch, this book is for you. It will also benefit developers who have worked with Lucene or Solr before and now want to work with Elasticsearch. No previous knowledge of Elasticsearch is expected.
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
In Detail
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.
Style and approach
This comprehensive guide will get you started with Elasticsearch 5.x, so you build a solid understanding of the basics. Every topic is explained in depth and is supplemented with practical examples to enhance your understanding.
Table of contents
- Preface
- Introduction to Elasticsearch
- Setting Up Elasticsearch and Kibana
- Modeling Your Data and Document Relations
- Indexing and Updating Your Data
- Organizing Your Data and Bulk Data Ingestion
-
All About Search
- Different types of queries
- Sample data
-
Querying Elasticsearch
- Basic query (finding the exact value)
- Pagination
- Sorting based on existing fields
- Selecting the fields in the response
- Querying based on range
- Handling dates
- Analyzed versus non-analyzed fields
- Term versus Match query
- Match phrase query
- Prefix and match phrase prefix query
- Wildcard and Regular expression query
- Exists and missing queries
- Using more than one query
- Routing
- Debugging search query
- Relevance
- Searching for same value across multiple fields
- Caching
- Summary
-
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
-
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
- Production and Beyond
- Exploring Elastic Stack (Elastic Cloud, Security, Graph, and Alerting)
Product information
- Title: Learning Elasticsearch
- Author(s):
- Release date: June 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787128453
You might also like
video
Working with Elasticsearch
In this Working with Elasticsearch training course, expert author Radu Gheorghe will teach you how to …
book
Elasticsearch Essentials
Harness the power of ElasticSearch to build and manage scalable search and analytics solutions with this …
book
Elasticsearch in Action
Elasticsearch in Action teaches you how to build scalable search applications using Elasticsearch. You'll ramp up …
video
Mastering ElasticSearch 6.x and the Elastic Stack
Elastic Stack is powered by the most popular open source search engine, ElasticSearch, currently used throughout …