Browse Source

Update percolate.asciidoc

wrong type used in the -GET request

Closes #8942
Yasir Bamarni 11 năm trước cách đây
mục cha
commit
5059d6fe1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/reference/search/percolate.asciidoc

+ 1 - 1
docs/reference/search/percolate.asciidoc

@@ -65,7 +65,7 @@ Match a document to the registered percolator queries:
 
 [source,js]
 --------------------------------------------------
-curl -XGET 'localhost:9200/my-index/message/_percolate' -d '{
+curl -XGET 'localhost:9200/my-index/my-type/_percolate' -d '{
     "doc" : {
         "message" : "A new bonsai tree in the office"
     }