Book description
Master the intricacies of Elasticsearch 5 and use it to create flexible and scalable search solutions
About This Book
Master the searching, indexing, and aggregation features in ElasticSearch
Improve users' search experience with Elasticsearch's functionalities and develop your own Elasticsearch plugins
A comprehensive, step-by-step guide to master the intricacies of ElasticSearch with ease
Who This Book Is For
If you have some prior working experience with Elasticsearch and want to take your knowledge to the next level, this book will be the perfect resource for you.If you are a developer who wants to implement scalable search solutions with Elasticsearch, this book will also help you. Some basic knowledge of the query DSL and data indexing is required to make the best use of this book.
What You Will Learn
Understand Apache Lucene and Elasticsearch 5's design and architecture
Use and configure the new and improved default text scoring mechanism in Apache Lucene 6
Know how to overcome the pitfalls while handling relational data in Elasticsearch
Learn about choosing the right queries according to the use cases and master the scripting module including new default scripting language, painlessly
Explore the right way of scaling production clusters to improve the performance of Elasticsearch
Master the searching, indexing, and aggregation features in Elasticsearch
Develop your own Elasticsearch plugins to extend the functionalities of Elasticsearch
In Detail
Elasticsearch is a modern, fast, distributed, scalable, fault tolerant, and open source search and analytics engine. Elasticsearch leverages the capabilities of Apache Lucene, and provides a new level of control over how you can index and search even huge sets of data. With this book you will finally be able to fully utilize the power that Elasticsearch.
This book will give you a brief recap of the basics and also introduce you to the new features of Elasticsearch 5. We will guide you through the intermediate and advanced functionalities of Elasticsearch, such as querying, indexing, searching, and modifying data. We'll also explore advanced concepts, including aggregation, index control, sharding, replication, and clustering.
We'll show you the modules of monitoring and administration available in Elasticsearch, and will also cover backup and recovery. You will get an understanding of how you can scale your ElasticSearch cluster to contextualize it and improve its performance. We'll also show you how you can create your own analysis plugin in Elasticsearch.
By the end of the book, you will have all the knowledge necessary to master Elasticsearch and put it to efficient use.
Style and approach
This comprehensive guide covers intermediate and advanced concepts in Elasticsearch as well as their implementation. An easy-to-follow approach means you'll be able to master even advanced querying, searching, and administration tasks with ease.
Table of contents
-
Mastering Elasticsearch 5.x - Third Edition
- Mastering Elasticsearch 5.x - Third Edition
- Credits
- About the Author
- Acknowledgements
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- 1. Revisiting Elasticsearch and the Changes
-
2. The Improved Query DSL
- The changed default text scoring in Lucene - BM25
- Re-factored Query DSL
-
Choosing the right query for the job
- Query categorization
- The use cases
- Some more important changes in Query DSL
- Query rewrite explained
- Query templates
- Summary
- 3. Beyond Full Text Search
- 4. Data Modeling and Analytics
- 5. Improving the User Search Experience
-
6. The Index Distribution Architecture
- Configuring an example multi-node cluster
- Choosing the right amount of shards and replicas
- Routing explained
- Shard allocation control
- Query execution preference
- Stripping data on multiple paths
- Index versus type - a revised approach for creating indices
- Summary
-
7. Low-Level Index Control
- Altering Apache Lucene scoring
- Available similarity models
- Setting a per-field similarity
- Similarity model configuration
- Choosing the default similarity model
- Choosing the right directory implementation - the store module
- The store type
- NRT, flush, refresh, and transaction log
- Segment merging under control
- Understanding Elasticsearch caching
- Summary
-
8. Elasticsearch Administration
- Node types in Elasticsearch
- Discovery and recovery modules
- The human-friendly status API - using the cat API
- Backing up
- Restoring snapshots
- Summary
- 9. Data Transformation and Federated Search
-
10. Improving Performance
- Query validation and profiling
- Very hot threads
-
Scaling Elasticsearch
- Vertical scaling
- Horizontal scaling
- Using Elasticsearch for high load scenarios
- Managing time-based indices efficiently using shrink and rollover APIs
- Summary
- 11. Developing Elasticsearch Plugins
- 12. Introducing Elastic Stack 5.0
Product information
- Title: Mastering Elasticsearch 5.x - Third Edition
- Author(s):
- Release date: February 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786460189
You might also like
book
Elasticsearch 5.x Cookbook - Third Edition
Over 170 advanced recipes to search, analyze, deploy, manage, and monitor data effectively with Elasticsearch 5.x …
book
ElasticSearch Server
Whether you’re experienced in search servers or a newcomer, this book empowers you to get to …
book
Mastering Elasticsearch - Second Edition
Further your knowledge of the Elasticsearch server by learning more about its internals, querying, and data …
book
Elasticsearch Essentials
Harness the power of ElasticSearch to build and manage scalable search and analytics solutions with this …