Skip to content

Commit f73545b

Browse files
authored
[DOCS] Update getting-started.asciidoc (elastic#116151)
Update `new_field` to `language` which is the actual new field added in dynamic mapping
1 parent 96cd967 commit f73545b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/quickstart/getting-started.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ POST /books/_doc
292292
// TEST[continued]
293293
<1> The new field.
294294

295-
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.
295+
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.
296296

297297
[source,console]
298298
----
@@ -327,7 +327,7 @@ GET /books/_mapping
327327
}
328328
}
329329
},
330-
"new_field": {
330+
"language": {
331331
"type": "text",
332332
"fields": {
333333
"keyword": {

0 commit comments

Comments
 (0)