Skip to content

Commit

Permalink
[DOCS] Update getting-started.asciidoc (elastic#116151)
Browse files Browse the repository at this point in the history
Update `new_field` to `language` which is the actual new field added in dynamic mapping
  • Loading branch information
Ekwinder authored and leemthompo committed Jan 29, 2025
1 parent 54a777b commit c515ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/quickstart/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ POST /books/_doc
// TEST[continued]
<1> The new field.

View the mapping for the `books` index with the <<indices-get-mapping, Get mapping API>>. The new field `new_field` has been added to the mapping with a `text` data type.
View the mapping for the `books` index with the <<indices-get-mapping, Get mapping API>>. The new field `language` has been added to the mapping with a `text` data type.

[source,console]
----
Expand Down Expand Up @@ -328,7 +328,7 @@ GET /books/_mapping
}
}
},
"new_field": {
"language": {
"type": "text",
"fields": {
"keyword": {
Expand Down

0 comments on commit c515ea9

Please sign in to comment.