This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

Object field types

Object field types contain values that are objects or relations. The following table lists all object field types that OpenSearch supports.

Field data typeDescription
objectA JSON object.
nestedUsed when objects in an array need to be indexed independently as separate documents.
flat_objectA JSON object treated as a string.
joinEstablishes a parent-child relationship between documents in the same index.