浏览代码

Update percolate.asciidoc

wrong type used in the -GET request

Closes #8942
Yasir Bamarni 11 年之前
父节点
当前提交
5059d6fe1c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"
     }