mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-24 13:55:57 +00:00
Update percolate.asciidoc
wrong type used in the -GET request Closes #8942
This commit is contained in:
parent
adb1a5b43b
commit
5059d6fe1c
@ -65,7 +65,7 @@ Match a document to the registered percolator queries:
|
|||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
curl -XGET 'localhost:9200/my-index/message/_percolate' -d '{
|
curl -XGET 'localhost:9200/my-index/my-type/_percolate' -d '{
|
||||||
"doc" : {
|
"doc" : {
|
||||||
"message" : "A new bonsai tree in the office"
|
"message" : "A new bonsai tree in the office"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user