Update percolate.asciidoc

wrong type used in the -GET request

Closes #8942
This commit is contained in:
Yasir Bamarni 2014-12-13 09:36:54 +00:00 committed by Clinton Gormley
parent adb1a5b43b
commit 5059d6fe1c

View File

@ -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"
}