Elasticsearch Server - Third Edition

Leverage Elasticsearch to create a robust, fast, and flexible search solution with ease

Elasticsearch Server - Third Edition

This ebook is included in a Mapt subscription
Rafał Kuć, Marek Rogoziński

1 customer reviews
Leverage Elasticsearch to create a robust, fast, and flexible search solution with ease
$10.00
$54.99
RRP $43.99
RRP $54.99
eBook
Print + eBook
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
Preview in Mapt

Book Details

ISBN 139781785888816
Paperback556 pages

Book Description

ElasticSearch is a very fast and scalable open source search engine, designed with distribution and cloud in mind, complete with all the goodies that Apache Lucene has to offer. ElasticSearch’s schema-free architecture allows developers to index and search unstructured content, making it perfectly suited for both small projects and large big data warehouses, even those with petabytes of unstructured data.

This book will guide you through the world of the most commonly used ElasticSearch server functionalities. You’ll start off by getting an understanding of the basics of ElasticSearch and its data indexing functionality. Next, you will see the querying capabilities of ElasticSearch, followed by a through explanation of scoring and search relevance. After this, you will explore the aggregation and data analysis capabilities of ElasticSearch and will learn how cluster administration and scaling can be used to boost your application performance. You’ll find out how to use the friendly REST APIs and how to tune ElasticSearch to make the most of it. By the end of this book, you will have be able to create amazing search solutions as per your project’s specifications.

Table of Contents

Chapter 1: Getting Started with Elasticsearch Cluster
Full text searching
The basics of Elasticsearch
Installing and configuring your cluster
Manipulating data with the REST API
Searching with the URI request query
Summary
Chapter 2: Indexing Your Data
Elasticsearch indexing
Mappings configuration
Batch indexing to speed up your indexing process
Introduction to segment merging
Introduction to routing
Summary
Chapter 3: Searching Your Data
Querying Elasticsearch
Understanding the querying process
Basic queries
Compound queries
Using span queries
Choosing the right query
Summary
Chapter 4: Extending Your Querying Knowledge
Filtering your results
Highlighting
Validating your queries
Sorting data
Query rewrite
Summary
Chapter 5: Extending Your Index Structure
Indexing tree-like structures
Indexing data that is not flat
Using nested objects
Using the parent-child relationship
Modifying your index structure with the update API
Summary
Chapter 6: Make Your Search Better
Introduction to Apache Lucene scoring
Scripting capabilities of Elasticsearch
Searching content in different languages
Influencing scores with query boosts
When does index-time boosting make sense?
Words with the same meaning
Understanding the explain information
Summary
Chapter 7: Aggregations for Data Analysis
Aggregations
Aggregation types
Pipeline aggregations
Summary
Chapter 8: Beyond Full-text Searching
Percolator
Elasticsearch spatial capabilities
Using suggesters
The Scroll API
Summary
Chapter 9: Elasticsearch Cluster in Detail
Understanding node discovery
The gateway and recovery modules
Templates and dynamic templates
Elasticsearch plugins
Elasticsearch caches
The update settings API
Summary
Chapter 10: Administrating Your Cluster
Elasticsearch time machine
Monitoring your cluster's state and health
Controlling the shard and replica allocation
Controlling cluster rebalancing
The Cat API
Warming up
Index aliasing and using it to simplify your everyday work
Summary
Chapter 11: Scaling by Example
Hardware
Preparing a single Elasticsearch node
Horizontal expansion
Preparing the cluster for high indexing and querying throughput
Monitoring
Summary

What You Will Learn

  • Configure, create, and retrieve data from your indices
  • Use an ElasticSearch query DSL to create a wide range of queries
  • Discover the highlighting and geographical search features offered by ElasticSearch
  • Find out how to index data that is not flat or data that has a relationship
  • Exploit a prospective search to search for queries not documents
  • Use the aggregations framework to get more from your data and improve your client’s search experience
  • Monitor your cluster state and health using the ElasticSearch API as well as third-party monitoring solutions
  • Discover how to properly set up ElasticSearch for various use cases

Authors

Table of Contents

Chapter 1: Getting Started with Elasticsearch Cluster
Full text searching
The basics of Elasticsearch
Installing and configuring your cluster
Manipulating data with the REST API
Searching with the URI request query
Summary
Chapter 2: Indexing Your Data
Elasticsearch indexing
Mappings configuration
Batch indexing to speed up your indexing process
Introduction to segment merging
Introduction to routing
Summary
Chapter 3: Searching Your Data
Querying Elasticsearch
Understanding the querying process
Basic queries
Compound queries
Using span queries
Choosing the right query
Summary
Chapter 4: Extending Your Querying Knowledge
Filtering your results
Highlighting
Validating your queries
Sorting data
Query rewrite
Summary
Chapter 5: Extending Your Index Structure
Indexing tree-like structures
Indexing data that is not flat
Using nested objects
Using the parent-child relationship
Modifying your index structure with the update API
Summary
Chapter 6: Make Your Search Better
Introduction to Apache Lucene scoring
Scripting capabilities of Elasticsearch
Searching content in different languages
Influencing scores with query boosts
When does index-time boosting make sense?
Words with the same meaning
Understanding the explain information
Summary
Chapter 7: Aggregations for Data Analysis
Aggregations
Aggregation types
Pipeline aggregations
Summary
Chapter 8: Beyond Full-text Searching
Percolator
Elasticsearch spatial capabilities
Using suggesters
The Scroll API
Summary
Chapter 9: Elasticsearch Cluster in Detail
Understanding node discovery
The gateway and recovery modules
Templates and dynamic templates
Elasticsearch plugins
Elasticsearch caches
The update settings API
Summary
Chapter 10: Administrating Your Cluster
Elasticsearch time machine
Monitoring your cluster's state and health
Controlling the shard and replica allocation
Controlling cluster rebalancing
The Cat API
Warming up
Index aliasing and using it to simplify your everyday work
Summary
Chapter 11: Scaling by Example
Hardware
Preparing a single Elasticsearch node
Horizontal expansion
Preparing the cluster for high indexing and querying throughput
Monitoring
Summary

Book Details

ISBN 139781785888816
Paperback556 pages
Read More
From 1 reviews

Read More Reviews