[SPEC] Added version, version_type to get and get_source
This commit is contained in:
parent
c66c9ff379
commit
8d3eba3035
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue