The mapping parameters define the ways to store the document fields, the methodologies and options to index, the information of the fields to expose, the additional procedure to perform, and how the mapped data is analyzed during index and search. We will endeavor to explain all the supported mapping parameters in the following tables:
Mapping parameter |
Description |
Example |
How it stores |
||
store |
Whether to store the field value. The default value is false. |
"field_1":{"type":"type_1", "store":true} |
doc_values |
It stores the same values as _source, but in a column-oriented manner. It is designed for sorting and aggregations. The default value is true. |
"field_1":{"type":"text", "doc_values":false} |