Book description
Whether you’re experienced in search servers or a newcomer, this book empowers you to get to grips with the speed and flexibility of ElasticSearch. A reader-friendly approach, including lots of hands-on examples, makes learning a pleasure.
- Learn the basics of ElasticSearch like data indexing, analysis, and dynamic mapping
- Query and filter ElasticSearch for more accurate and precise search results
- Learn how to monitor and manage ElasticSearch clusters and troubleshoot any problems that arise
In Detail
ElasticSearch is an open source search server built on Apache Lucene. It was built to provide a scalable search solution with built-in support for near real-time search and multi-tenancy.
Jumping into the world of ElasticSearch by setting up your own custom cluster, this book will show you how to create a fast, scalable, and flexible search solution. By learning the ins-and-outs of data indexing and analysis, "ElasticSearch Server" will start you on your journey to mastering the powerful capabilities of ElasticSearch. With practical chapters covering how to search data, extend your search, and go deep into cluster administration and search analysis, this book is perfect for those new and experienced with search servers.
In "ElasticSearch Server" you will learn how to revolutionize your website or application with faster, more accurate, and flexible search functionality. Starting with chapters on setting up your own ElasticSearch cluster and searching and extending your search parameters you will quickly be able to create a fast, scalable, and completely custom search solution.
Building on your knowledge further you will learn about ElasticSearch’s query API and become confident using powerful filtering and faceting capabilities. You will develop practical knowledge on how to make use of ElasticSearch’s near real-time capabilities and support for multi-tenancy.
Your journey then concludes with chapters that help you monitor and tune your ElasticSearch cluster as well as advanced topics such as shard allocation, gateway configuration, and the discovery module.
Table of contents
-
ElasticSearch Server
- Table of Contents
- ElasticSearch Server
- Credits
- About the Authors
- Acknowledgement
- Acknowledgement
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Getting Started with ElasticSearch Cluster
- What is ElasticSearch?
- Installing and configuring your cluster
- Directory structure
- Configuring ElasticSearch
- Running ElasticSearch
- Shutting down ElasticSearch
- Running ElasticSearch as a system service
- Data manipulation with REST API
- Manual index creation and mappings configuration
- Dynamic mappings and templates
- When routing does matter
- Index aliasing and simplifying your everyday work using it
- Summary
-
2. Searching Your Data
- Understanding the querying and indexing process
- Mappings
- Querying ElasticSearch
-
Basic queries
- The term query
- The terms query
- The match query
- The multi match query
- The query string query
- The field query
- The identifiers query
- The prefix query
- The fuzzy like this query
- The fuzzy like this field query
- The fuzzy query
- The match all query
- The wildcard query
- The more like this query
- The more like this field query
- The range query
- Query rewrite
- Filtering your results
- Compound queries
- Sorting data
- Using scripts
- Summary
- 3. Extending Your Structure and Search
- 4. Make Your Search Better
- 5. Combining Indexing, Analysis, and Search
- 6. Beyond Searching
-
7. Administrating Your Cluster
- Monitoring your cluster state and health
- Controlling shard and replica allocation
- Tools for instance and cluster state diagnosis
- Your ElasticSearch time machine
- Node discovery
- ElasticSearch plugins
- Summary
-
8. Dealing with Problems
- Why is the result on later pages slow
-
Controlling cluster rebalancing
- What is rebalancing?
- When is the cluster ready?
-
The cluster rebalancing settings
- Controlling when rebalancing will start
- Controlling the number of shards being moved between nodes concurrently
- Controlling the number of shards initialized concurrently on a single node
- Controlling the number of primary shards initialized concurrently on a single node
- Disabling the allocation of shards and replicas
- Disabling the allocation of replicas
- Validating your queries
- Warming up
- Summary
- Index
Product information
- Title: ElasticSearch Server
- Author(s):
- Release date: February 2013
- Publisher(s): Packt Publishing
- ISBN: 9781849518444
You might also like
book
Elasticsearch Essentials
Harness the power of ElasticSearch to build and manage scalable search and analytics solutions with this …
book
ElasticSearch Cookbook - Second Edition
Over 130 advanced recipes to search, analyze, deploy, manage, and monitor data effectively with ElasticSearch In …
book
Mastering Elasticsearch 5.x - Third Edition
Master the intricacies of Elasticsearch 5 and use it to create flexible and scalable search solutions …
video
Working with Elasticsearch
In this Working with Elasticsearch training course, expert author Radu Gheorghe will teach you how to …