Added missing percolate API parameters (percolate_routing, percolate_preference) to the REST API Spec

Closes #7173
This commit is contained in:
Martijn Laarman 2014-08-06 11:26:45 +02:00 committed by Clinton Gormley
parent ed406fb154
commit 006acfe8bf
1 changed files with 8 additions and 0 deletions

View File

@ -53,6 +53,14 @@
"type" : "string",
"description" : "The type to percolate document into. Defaults to type."
},
"percolate_routing": {
"type" : "string",
"description" : "The routing value to use when percolating the existing document."
},
"percolate_preference": {
"type" : "string",
"description" : "Which shard to prefer when executing the percolate request."
},
"percolate_format": {
"type" : "enum",
"options" : ["ids"],