OpenSearch/docs/reference/cluster
Jason Tedor 51d53791fe Remove lenient URL parameter parsing
Today when parsing a request, Elasticsearch silently ignores incorrect
(including parameters with typos) or unused parameters. This is bad as
it leads to requests having unintended behavior (e.g., if a user hits
the _analyze API and misspell the "tokenizer" then Elasticsearch will
just use the standard analyzer, completely against intentions).

This commit removes lenient URL parameter parsing. The strategy is
simple: when a request is handled and a parameter is touched, we mark it
as such. Before the request is actually executed, we check to ensure
that all parameters have been consumed. If there are remaining
parameters yet to be consumed, we fail the request with a list of the
unconsumed parameters. An exception has to be made for parameters that
format the response (as opposed to controlling the request); for this
case, handlers are able to provide a list of parameters that should be
excluded from tripping the unconsumed parameters check because those
parameters will be used in formatting the response.

Additionally, some inconsistencies between the parameters in the code
and in the docs are corrected.

Relates #20722
2016-10-04 12:45:29 -04:00
..
allocation-explain.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
health.asciidoc Remove most of the need for `// NOTCONSOLE` 2016-09-06 10:32:54 -04:00
nodes-hot-threads.asciidoc Core: ignore known idle threads by default in /_nodes/hot_threads 2014-12-17 11:59:31 -05:00
nodes-info.asciidoc add indices nodes info flag to docs 2016-06-20 14:23:32 -04:00
nodes-stats.asciidoc Add I/O statistics on Linux 2016-05-17 16:16:39 -04:00
pending.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
reroute.asciidoc Limit retries of failed allocations per index (#18467) 2016-05-20 20:37:45 +02:00
state.asciidoc Cluster State API: Remove index template filtering 2014-05-05 14:54:14 +02:00
stats.asciidoc add mem section back to cluster stats 2016-09-01 11:26:03 +02:00
tasks.asciidoc Remove lenient URL parameter parsing 2016-10-04 12:45:29 -04:00
update-settings.asciidoc Clarification about precedence of settings 2016-03-10 14:29:51 +01:00