Book description
Over 130 advanced recipes to search, analyze, deploy, manage, and monitor data effectively with ElasticSearch
In Detail
This book will guide you through the complete ElasticSearch ecosystem. From choosing the correct transport layer and communicating with the server to creating and customizing internal actions, you will develop an in-depth knowledge of the implementation of the ElasticSearch architecture.
After creating complex queries and analytics, mapping, aggregation, and scripting, you will master the integration of ElasticSearch's functionality in user-facing applications and take your knowledge one-step further by building custom plugins, developing tailored mapping, executing powerful analytics, and integrating with Python and Java applications.
What You Will Learn
- Make ElasticSearch work for you by choosing the best cloud topology and powering it with plugins
- Develop tailored mapping to take full control of index steps
- Build complex queries through managing indices and documents
- Optimize search results through executing analytics aggregations
- Manage rivers (SQL, NoSQL, and web-based) to synchronize and populate cross-source data
- Develop web interfaces to execute key tasks
- Monitor the performance of the cluster and nodes
Table of contents
-
ElasticSearch Cookbook Second Edition
- Table of Contents
- ElasticSearch Cookbook Second Edition
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Getting Started
- 2. Downloading and Setting Up
-
3. Managing Mapping
- Introduction
- Using explicit mapping creation
- Mapping base types
- Mapping arrays
- Mapping an object
- Mapping a document
- Using dynamic templates in document mapping
- Managing nested objects
- Managing a child document
- Adding a field with multiple mappings
- Mapping a geo point field
- Mapping a geo shape field
- Mapping an IP field
- Mapping an attachment field
- Adding metadata to a mapping
- Specifying a different analyzer
- Mapping a completion suggester
-
4. Basic Operations
- Introduction
- Creating an index
- Deleting an index
- Opening/closing an index
- Putting a mapping in an index
- Getting a mapping
- Deleting a mapping
- Refreshing an index
- Flushing an index
- Optimizing an index
- Checking if an index or type exists
- Managing index settings
- Using index aliases
- Indexing a document
- Getting a document
- Deleting a document
- Updating a document
- Speeding up atomic operations (bulk operations)
- Speeding up GET operations (multi GET)
-
5. Search, Queries, and Filters
- Introduction
- Executing a search
- Sorting results
- Highlighting results
- Executing a scan query
- Suggesting a correct query
- Counting matched results
- Deleting by query
- Matching all the documents
- Querying/filtering for a single term
- Querying/filtering for multiple terms
- Using a prefix query/filter
- Using a Boolean query/filter
- Using a range query/filter
- Using span queries
- Using a match query
- Using an ID query/filter
- Using a has_child query/filter
- Using a top_children query
- Using a has_parent query/filter
- Using a regexp query/filter
- Using a function score query
- Using exists and missing filters
- Using and/or/not filters
- Using a geo bounding box filter
- Using a geo polygon filter
- Using geo distance filter
- Using a QueryString query
- Using a template query
-
6. Aggregations
- Introduction
- Executing an aggregation
- Executing the stats aggregation
- Executing the terms aggregation
- Executing the range aggregation
- Executing the histogram aggregation
- Executing the date histogram aggregation
- Executing the filter aggregation
- Executing the global aggregation
- Executing the geo distance aggregation
- Executing nested aggregation
- Executing the top hit aggregation
- 7. Scripting
- 8. Rivers
-
9. Cluster and Node Monitoring
- Introduction
- Controlling cluster health via the API
- Controlling cluster state via the API
- Getting cluster node information via the API
- Getting node statistics via the API
- Managing repositories
- Executing a snapshot
- Restoring a snapshot
- Installing and using BigDesk
- Installing and using ElasticSearch Head
- Installing and using SemaText SPM
- Installing and using Marvel
- 10. Java Integration
- 11. Python Integration
- 12. Plugin Development
- Index
Product information
- Title: ElasticSearch Cookbook - Second Edition
- Author(s):
- Release date: January 2015
- Publisher(s): Packt Publishing
- ISBN: 9781783554836
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 Essentials
Harness the power of ElasticSearch to build and manage scalable search and analytics solutions with this …
book
Mastering Elasticsearch 5.x - Third Edition
Master the intricacies of Elasticsearch 5 and use it to create flexible and scalable search solutions …
book
Elasticsearch Indexing
Improve search experiences with ElasticSearch's powerful indexing functionality ? learn how with this practical ElasticSearch tutorial, …