ElasticSearch Server, 2/e (Paperback)

Rafal Kuc, Marek Rogozinski

買這商品的人也買了...

商品描述

From creating your own index structure through to cluster monitoring and troubleshooting, this is the complete guide to implementing the ElasticSearch search engine on your own websites. Packed with real-life examples.

Overview

  • Learn about the fascinating functionalities of ElasticSearch like data indexing, data analysis, and dynamic mapping
  • Fine-tune ElasticSearch and understand its metrics using its API and available tools, and see how it behaves in complex searches
  • A hands-on tutorial that walks you through all the features of ElasticSearch in an easy-to-understand way, with examples that will help you become an expert in no time

In Detail

This book begins by introducing the most commonly used Elasticsearch server functionalities, from creating your own index structure, through querying, faceting, and aggregations, and ends with cluster monitoring and problem diagnosis. As you progress through the book, you will cover topics such as starting Elasticsearch, creating a new index, and designing its proper structure. After that, you'll read about the query API that Elasticsearch exposes, as well as about filtering capabilities, aggregations, and faceting. Last but not least, you will get to know how to find similar documents by using similar functionalities and how to implement application alerts by using the prospective search functionality called percolator. Some advanced topics such as shard allocation control, gateway configuration, and how to use the discovery module will also be discussed. This book will also show you the possibilities of cluster state and health monitoring as well as how to use third-party tools.

What you will learn from this book

  • Configure and create your own index
  • Set up an analysis chain and handle multilingual data
  • Use the Elasticsearch query DSL to make all kinds of queries
  • Utilize filters efficiently and ensure they do not affect performance
  • Implement autocomplete functionality
  • Employ faceting, the aggregations framework, and similar functionalities to get more from your search and improve your clients' search experience
  • Monitor your cluster state and health by using Elasticsearch APIs as well as third-party monitoring solutions
  • Learn what gateway and discovery modules are, and how to properly configure them
  • Control primary shards and replica rebalancing

Approach

This book is a detailed, practical, hands-on guide packed with real-life scenarios and examples which will show you how to implement an ElasticSearch search engine on your own websites.

商品描述(中文翻譯)

從建立自己的索引結構到集群監控和故障排除,這本書是在您自己的網站上實施ElasticSearch搜索引擎的完整指南。內容豐富,包含了真實案例。

概述:
- 學習ElasticSearch的迷人功能,如數據索引、數據分析和動態映射
- 通過API和可用工具微調ElasticSearch並了解其指標,並了解其在複雜搜索中的行為
- 這是一個實踐教程,以易於理解的方式引導您了解ElasticSearch的所有功能,並通過示例幫助您迅速成為專家

詳細內容:
本書首先介紹了最常用的Elasticsearch服務器功能,從創建自己的索引結構,到查詢、分面和聚合,最後介紹了集群監控和問題診斷。隨著您閱讀本書,您將涵蓋以下主題:啟動Elasticsearch、創建新索引以及設計其適當的結構。之後,您將了解Elasticsearch公開的查詢API,以及過濾功能、聚合和分面。最後,您將了解如何使用相似功能找到相似的文檔,以及如何使用稱為percolator的潛在搜索功能實現應用程序警報。還將討論一些高級主題,如分片分配控制、門戶配置以及如何使用發現模塊。本書還將向您展示集群狀態和健康監控的可能性,以及如何使用第三方工具。

從本書中您將學到:
- 配置並創建自己的索引
- 設置分析鏈並處理多語言數據
- 使用Elasticsearch查詢DSL進行各種查詢
- 高效使用過濾器,並確保它們不影響性能
- 實現自動完成功能
- 使用分面、聚合框架和類似功能來提高搜索效果並改善客戶的搜索體驗
- 通過使用Elasticsearch API和第三方監控解決方案監控集群狀態和健康
- 了解門戶和發現模塊是什麼,以及如何正確配置它們
- 控制主分片和副本重新平衡

方法:
本書是一本詳細、實用、實踐的指南,充滿了真實場景和示例,將向您展示如何在自己的網站上實施ElasticSearch搜索引擎。