- ElasticSearch Cookbook
- Alberto Paro
- 147字
- 2021-04-02 10:09:59
Introduction
Mapping is the most important concept in ElasticSearch, as it defines how a search engine should process a document.
Search engines are mainly composed of two parts:
- Indexing: This action takes a document and stores/indexes/processes it in an index
- Searching: This action retrieves the data from the index
These two parts are strictly connected; an error in the indexing step leads to unwanted or missing search results.
ElasticSearch has explicit mapping on an index/type level. When indexing, if mapping is not provided, a default mapping is created, guessing the structure from the data fields that compose the document. Then, this new mapping is automatically propagated to all cluster nodes.
The default type mapping has sensible default values, but when you want to change their behavior you need to provide a new mapping definition.
In this chapter, we'll see all the possible types that compose the mappings.
- 嵌入式Linux開發技術
- Cybersecurity:Attack and Defense Strategies
- Red Hat Enterprise Linux 8系統管理實戰
- Linux從零開始學(視頻教學版)
- 蘋果電腦玩全攻略 OS X 10.8 Mountain Lion
- 新手易學:系統安裝與重裝
- 混沌工程實戰:手把手教你實現系統穩定性
- Windows 7案例教程
- AWS Development Essentials
- iOS 8開發指南
- Cassandra 3.x High Availability(Second Edition)
- Linux 從入門到項目實踐(超值版)
- CSS揭秘
- 操作系統之哲學原理第2版
- Mastering Sass