Update Delete/Update-By-Query REST Specs (#20915)

This commit removes unused parameters from the Update-By-Query and Delete-By-Query REST specification files.
This commit is contained in:
Tanguy Leroux 2016-10-14 09:26:33 +02:00 committed by GitHub
parent 68ed183381
commit f5e1c6d330
2 changed files with 3 additions and 75 deletions

View File

@ -36,18 +36,6 @@
"type" : "string", "type" : "string",
"description" : "The field to use as default where no field prefix is given in the query string" "description" : "The field to use as default where no field prefix is given in the query string"
}, },
"explain": {
"type" : "boolean",
"description" : "Specify whether to return detailed information about score computation as part of a hit"
},
"stored_fields": {
"type" : "list",
"description" : "A comma-separated list of stored fields to return as part of a hit"
},
"docvalue_fields": {
"type" : "list",
"description" : "A comma-separated list of fields to return as the docvalue representation of a field for each hit"
},
"from": { "from": {
"type" : "number", "type" : "number",
"description" : "Starting offset (default: 0)" "description" : "Starting offset (default: 0)"
@ -134,32 +122,10 @@
"type" : "list", "type" : "list",
"description" : "Specific 'tag' of the request for logging and statistical purposes" "description" : "Specific 'tag' of the request for logging and statistical purposes"
}, },
"suggest_field": {
"type" : "string",
"description" : "Specify which field to use for suggestions"
},
"suggest_mode": {
"type" : "enum",
"options" : ["missing", "popular", "always"],
"default" : "missing",
"description" : "Specify suggest mode"
},
"suggest_size": {
"type" : "number",
"description" : "How many suggestions to return in response"
},
"suggest_text": {
"type" : "string",
"description" : "The source text for which the suggestions should be returned"
},
"timeout": { "timeout": {
"type" : "time", "type" : "time",
"description" : "Explicit operation timeout" "description" : "Explicit operation timeout"
}, },
"track_scores": {
"type" : "boolean",
"description": "Whether to calculate and return scores even if they are not used for sorting"
},
"version": { "version": {
"type" : "boolean", "type" : "boolean",
"description" : "Specify whether to return document version as part of a hit" "description" : "Specify whether to return document version as part of a hit"
@ -194,7 +160,7 @@
"requests_per_second": { "requests_per_second": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "The throttle for this request in sub-requests per second. -1 means set no throttle." "description": "The throttle to set on this request in sub-requests per second. -1 means set no throttle as does \"unlimited\" which is the only non-float this accepts."
} }
} }
}, },

View File

@ -36,22 +36,6 @@
"type" : "string", "type" : "string",
"description" : "The field to use as default where no field prefix is given in the query string" "description" : "The field to use as default where no field prefix is given in the query string"
}, },
"explain": {
"type" : "boolean",
"description" : "Specify whether to return detailed information about score computation as part of a hit"
},
"stored_fields": {
"type" : "list",
"description" : "A comma-separated list of stored fields to return as part of a hit"
},
"docvalue_fields": {
"type" : "list",
"description" : "A comma-separated list of fields to return as the docvalue representation of a field for each hit"
},
"fielddata_fields": {
"type" : "list",
"description" : "A comma-separated list of fields to return as the docvalue representation of a field for each hit"
},
"from": { "from": {
"type" : "number", "type" : "number",
"description" : "Starting offset (default: 0)" "description" : "Starting offset (default: 0)"
@ -69,7 +53,7 @@
"type" : "enum", "type" : "enum",
"options": ["abort", "proceed"], "options": ["abort", "proceed"],
"default": "abort", "default": "abort",
"description" : "What to do when the reindex hits version conflicts?" "description" : "What to do when the update by query hits version conflicts?"
}, },
"expand_wildcards": { "expand_wildcards": {
"type" : "enum", "type" : "enum",
@ -142,32 +126,10 @@
"type" : "list", "type" : "list",
"description" : "Specific 'tag' of the request for logging and statistical purposes" "description" : "Specific 'tag' of the request for logging and statistical purposes"
}, },
"suggest_field": {
"type" : "string",
"description" : "Specify which field to use for suggestions"
},
"suggest_mode": {
"type" : "enum",
"options" : ["missing", "popular", "always"],
"default" : "missing",
"description" : "Specify suggest mode"
},
"suggest_size": {
"type" : "number",
"description" : "How many suggestions to return in response"
},
"suggest_text": {
"type" : "string",
"description" : "The source text for which the suggestions should be returned"
},
"timeout": { "timeout": {
"type" : "time", "type" : "time",
"description" : "Explicit operation timeout" "description" : "Explicit operation timeout"
}, },
"track_scores": {
"type" : "boolean",
"description": "Whether to calculate and return scores even if they are not used for sorting"
},
"version": { "version": {
"type" : "boolean", "type" : "boolean",
"description" : "Specify whether to return document version as part of a hit" "description" : "Specify whether to return document version as part of a hit"
@ -201,7 +163,7 @@
"wait_for_completion": { "wait_for_completion": {
"type" : "boolean", "type" : "boolean",
"default": false, "default": false,
"description" : "Should the request should block until the reindex is complete." "description" : "Should the request should block until the update by query operation is complete."
}, },
"requests_per_second": { "requests_per_second": {
"type": "number", "type": "number",