Explorar o código

Update percolate.asciidoc

wrong type used in the -GET request

Closes #8942
Yasir Bamarni %!s(int64=11) %!d(string=hai) anos
pai
achega
5059d6fe1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"
     }