From 01c93b57d223ed37ad5150222f828935a4d24d62 Mon Sep 17 00:00:00 2001 From: Stavros Macrakis <134456002+smacrakis@users.noreply.github.com> Date: Mon, 19 Feb 2024 19:58:43 -0500 Subject: [PATCH] improve wording (#6445) the mapping actually *defines* the field types, it doesn't just "correspond to" them. Signed-off-by: Stavros Macrakis <134456002+smacrakis@users.noreply.github.com> --- _field-types/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_field-types/index.md b/_field-types/index.md index 9d8bd425..7a7e816a 100644 --- a/_field-types/index.md +++ b/_field-types/index.md @@ -12,7 +12,7 @@ redirect_from: # Mappings and field types -You can define how documents and their fields are stored and indexed by creating a _mapping_. The mapping specifies the list of fields for a document. Every field in the document has a _field type_, which corresponds to the type of data the field contains. For example, you may want to specify that the `year` field should be of type `date`. To learn more, see [Supported field types]({{site.url}}{{site.baseurl}}/field-types/supported-field-types/index/). +You can define how documents and their fields are stored and indexed by creating a _mapping_. The mapping specifies the list of fields for a document. Every field in the document has a _field type_, which defines the type of data the field contains. For example, you may want to specify that the `year` field should be of type `date`. To learn more, see [Supported field types]({{site.url}}{{site.baseurl}}/field-types/supported-field-types/index/). If you're just starting to build out your cluster and data, you may not know exactly how your data should be stored. In those cases, you can use dynamic mappings, which tell OpenSearch to dynamically add data and its fields. However, if you know exactly what types your data falls under and want to enforce that standard, then you can use explicit mappings. @@ -219,4 +219,4 @@ The response contains the specified fields: } } } -``` \ No newline at end of file +```