- 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.
- Containerization with LXC
- Persistence in PHP with the Doctrine ORM
- 循序漸進學Docker
- Linux自動化運維:Shell與Ansible(微課版)
- AWS Development Essentials
- Ceph分布式存儲實戰(zhàn)
- Linux設備驅動開發(fā)
- Linux應用大全 基礎與管理
- Learning Continuous Integration with Jenkins(Second Edition)
- Web Penetration Testing with Kali Linux(Third Edition)
- 鴻蒙HarmonyOS應用開發(fā)入門
- Mastering AWS CloudFormation
- Getting Started with Citrix XenApp 6.5
- 用“芯”探核:基于龍芯的Linux內核探索解析
- TD-SCDMA HSDPA系統設計與組網技術