[SPEC] Added version, version_type to get and get_source

This commit is contained in:
Clinton Gormley 2014-01-16 14:59:18 +01:00
parent c66c9ff379
commit 8d3eba3035
2 changed files with 17 additions and 0 deletions

View File

@ -58,6 +58,15 @@
"_source_include": { "_source_include": {
"type" : "list", "type" : "list",
"description" : "A list of fields to extract and return from the _source field" "description" : "A list of fields to extract and return from the _source field"
},
"version" : {
"type" : "number",
"description" : "Explicit version number for concurrency control"
},
"version_type": {
"type" : "enum",
"options" : ["internal","external"],
"description" : "Specific version type"
} }
} }
}, },

View File

@ -50,6 +50,14 @@
"routing": { "routing": {
"type" : "string", "type" : "string",
"description" : "Specific routing value" "description" : "Specific routing value"
"version" : {
"type" : "number",
"description" : "Explicit version number for concurrency control"
},
"version_type": {
"type" : "enum",
"options" : ["internal","external"],
"description" : "Specific version type"
} }
} }
}, },