OpenSearch/rest-api-spec/test/mget
Simon Willnauer 15d58d91f1 [REST] Render REST errors in a structural way
This commit adds support for structural errors / failures / exceptions
on the elasticsearch REST layer. Exceptions are rendering with at least
a `type` and a `reason` corresponding to the exception name and the message.
Some expcetions like the ones associated with an index or a shard will have
additional information about the index the exception was triggered on or the
shard respectivly.

Each rendered response will also contain a list of root causes which is a list
of distinct shard level errors returned for the request. Root causes are the lowest
level elasticsearch exception found per shard response and are intended to be displayed
to the user to indicate the soruce of the exception.

Shard level response are by-default grouped by their type and reason to reduce the amount
of duplicates retunred. Yet, the same exception retunred from different indices will not be
grouped.

Closes #3303
2015-04-24 09:36:10 +02:00
..
10_basic.yaml [TEST] Fixed mget test which used deprecated refresh flag 2014-01-16 19:43:58 +01:00
11_default_index_type.yaml Rename "exists" to "found" in TermVector and Get responses 2014-01-07 09:47:07 -07:00
12_non_existent_index.yaml Rename "exists" to "found" in TermVector and Get responses 2014-01-07 09:47:07 -07:00
13_missing_metadata.yaml [REST] Render REST errors in a structural way 2015-04-24 09:36:10 +02:00
15_ids.yaml [REST] Render REST errors in a structural way 2015-04-24 09:36:10 +02:00
20_fields.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
30_parent.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
40_routing.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
55_parent_with_routing.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
60_realtime_refresh.yaml [TEST] Fixed get_source/60_realtime_refresh REST test to work against multiple nodes 2014-02-10 12:32:34 +01:00
70_source_filtering.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
TODO.txt Added tests for exists, get_source and mget 2013-07-01 16:03:37 +02:00