diff --git a/docs/reference/mapping/fields/meta-field.asciidoc b/docs/reference/mapping/fields/meta-field.asciidoc index c59877f231550..02f0816e072d9 100644 --- a/docs/reference/mapping/fields/meta-field.asciidoc +++ b/docs/reference/mapping/fields/meta-field.asciidoc @@ -27,4 +27,20 @@ PUT my_index <> API. The `_meta` field can be updated on an existing type using the -<> API. +<> API: + +[source,js] +-------------------------------------------------- +PUT my_index/_mapping/user +{ + "_meta": { + "class": "MyApp2::User3", + "version": { + "min": "1.3", + "max": "1.5" + } + } +} +-------------------------------------------------- +// CONSOLE +// TEST[continued]