2022-08-11 12:02:21 -04:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Object field types
|
|
|
|
nav_order: 40
|
|
|
|
has_children: true
|
|
|
|
has_toc: false
|
|
|
|
parent: Supported field types
|
|
|
|
---
|
|
|
|
|
|
|
|
# Object field types
|
|
|
|
|
|
|
|
The following table lists all object field types that OpenSearch supports.
|
|
|
|
|
|
|
|
Field data type | Description
|
|
|
|
:--- | :---
|
2023-05-04 15:30:33 -04:00
|
|
|
[`object`]({{site.url}}{{site.baseurl}}/field-types/object/) | A JSON object.
|
|
|
|
[`nested`]({{site.url}}{{site.baseurl}}/field-types/nested/) | Used when objects in an array need to be indexed independently as separate documents.
|
|
|
|
[`flat_object`]({{site.url}}{{site.baseurl}}/field-types/flat-object/) | A JSON object treated as a string.
|
|
|
|
[`join`]({{site.url}}{{site.baseurl}}/field-types/join/) | Establishes a parent-child relationship between documents in the same index.
|
2022-08-11 12:02:21 -04:00
|
|
|
|