Documentation Center

OpenSearch mapping

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

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

Field typeOpenSearch type: single-value text fieldsOpenSearch 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"