opensearch-docs-cn/_field-types/object-fields.md

21 lines
746 B
Markdown
Raw Normal View History

---
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
:--- | :---
[`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.