- 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.
- 構(gòu)建高可用Linux服務(wù)器(第4版)
- 從零開始寫Linux內(nèi)核:一書學(xué)透核心原理與實現(xiàn)
- Kali Linux滲透測試全流程詳解
- 高性能Linux服務(wù)器構(gòu)建實戰(zhàn):運維監(jiān)控、性能調(diào)優(yōu)與集群應(yīng)用
- 嵌入式Linux驅(qū)動程序和系統(tǒng)開發(fā)實例精講
- Kubernetes從入門到實踐
- Windows 7案例教程
- Introduction to R for Quantitative Finance
- Linux軟件管理平臺設(shè)計與實現(xiàn)
- Office 365 User Guide
- 鴻蒙HarmonyOS應(yīng)用開發(fā)入門
- 電腦辦公(Windows 7+Office 2016)入門與提高
- 電腦辦公(Windows 7 + Office 2013)入門與提高
- Apache ShardingSphere權(quán)威指南
- UNIX傳奇:歷史與回憶