Chapter 3. Managing Mapping
In this chapter, we will cover the following topics:
- Using explicit mapping creation
- Mapping base types
- Mapping arrays
- Mapping an object
- Mapping a document
- Using dynamic templates in document mapping
- Managing nested objects
- Managing a child document
- Adding a field with multiple mappings
- Mapping a geo point field
- Mapping a geo shape field
- Mapping an IP field
- Mapping an attachment field
- Adding metadata to a mapping
- Specifying a different analyzer
- Mapping a completion suggester
Introduction
Mapping is an important concept in ElasticSearch, as it defines how the search engine should process a document.
Search engines perform two main operations:
- Indexing: This is the action to receive a document and store/index/process it in an index
- Searching ...
Get ElasticSearch Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.