- 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.
- Kali Linux滲透測試全流程詳解
- BPEL and Java Cookbook
- Haskell Financial Data Modeling and Predictive Analytics
- SharePoint 2013 WCM Advanced Cookbook
- 8051軟核處理器設計實戰
- 直播系統開發:基于Nginx與Nginx-rtmp-module
- Android物聯網開發細致入門與最佳實踐
- Joomla! 3 Template Essentials
- Linux內核觀測技術BPF
- AutoCAD 2014中文版從入門到精通
- Ceph分布式存儲實戰
- CSS揭秘
- OpenStack Essentials(Second Edition)
- 再也不踩坑的kubernetes實戰指南
- 完美應用Ubuntu(第4版)