diff --git a/docs/reference/search/percolate.asciidoc b/docs/reference/search/percolate.asciidoc index aedbac1cdde..a34ee69df90 100644 --- a/docs/reference/search/percolate.asciidoc +++ b/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" }