diff --git a/docs/reference/mapping/types/semantic-text.asciidoc b/docs/reference/mapping/types/semantic-text.asciidoc index b252a0058258f..62e5075b9287d 100644 --- a/docs/reference/mapping/types/semantic-text.asciidoc +++ b/docs/reference/mapping/types/semantic-text.asciidoc @@ -130,7 +130,7 @@ You can extract the most relevant fragments from a semantic text field by using [source,console] ------------------------------------------------------------ -PUT test-index +POST test-index/_search { "query": { "semantic": { @@ -240,4 +240,4 @@ PUT test-index `semantic_text` field types have the following limitations: * `semantic_text` fields are not currently supported as elements of <>. -* `semantic_text` fields can't currently be set as part of <>. \ No newline at end of file +* `semantic_text` fields can't currently be set as part of <>.