1
0
Эх сурвалжийг харах

Change PUT to POST _search in semantic-text.md example (#134256)

Current example of a semantic highlighter query uses a PUT index API, but it should be a search API.
Dai Sugimori 1 сар өмнө
parent
commit
18037bb05c

+ 1 - 1
docs/reference/elasticsearch/mapping-reference/semantic-text.md

@@ -349,7 +349,7 @@ fragments when the field is not of type semantic_text, you can explicitly
 enforce the `semantic` highlighter in the query:
 enforce the `semantic` highlighter in the query:
 
 
 ```console
 ```console
-PUT test-index
+POST test-index/_search
 {
 {
     "query": {
     "query": {
         "match": {
         "match": {