Skip to content

Commit 3bddff3

Browse files
authored
Fix error in docs code snippet (#121187) (#121191)
1 parent 61f5b01 commit 3bddff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/mapping/types/semantic-text.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ You can extract the most relevant fragments from a semantic text field by using
130130

131131
[source,console]
132132
------------------------------------------------------------
133-
PUT test-index
133+
POST test-index/_search
134134
{
135135
"query": {
136136
"semantic": {
@@ -240,4 +240,4 @@ PUT test-index
240240
`semantic_text` field types have the following limitations:
241241

242242
* `semantic_text` fields are not currently supported as elements of <<nested,nested fields>>.
243-
* `semantic_text` fields can't currently be set as part of <<dynamic-templates>>.
243+
* `semantic_text` fields can't currently be set as part of <<dynamic-templates>>.

0 commit comments

Comments
 (0)