Elasticsearch mapping

When you publish content from the Content Manager to Elasticsearch, field types in Component fields and Metadata fields are mapped to Elasticsearch field types.

The following table describes the mapping of field types used in Component fields and Metadata fields to field types in Elasticsearch.

Field typeElasticsearch type: single-value text fieldsElasticsearch type: multi-value text fields
text
"attributeType": "text", 
"attributeValueType": "stringValues"
"attributeType": "set", 
"attributeValueType": "objectValues"
text field based on Keywords
"attributeType": "list", 
"attributeValueType": "objectValues"
"attributeType": "set", 
"attributeValueType": "objectValues"
number
"attributeType": "double", 
"attributeValueType": "doubleValues"
"attributeType": "set", 
"attributeValueType": "objectValues"
date
"attributeType": "date", 
"attributeValueType": "stringValues"
"attributeType": "set", 
"attributeValueType": "objectValues"
link
"attributeType": "text", 
"attributeValueType": "stringValues"
"attributeType": "set", 
"attributeValueType": "objectValues"