OpenSearch/rest-api-spec/test/search
Britta Weber 8076a31ac1 Throw exception if an additional field was placed inside the "query" body
Currently the parser accepts queries like

```
"query" : {
     "any_query": {
         ...
     },
     "any_field_name":...
}
```

The "any_field_name" is silently ignored. However, this also causes the parser
not to move to the next closing bracket which in turn can lead to additional query
paremters being ignored such as "fields", "highlight",...
This was the case in issue #4895

closes issue #4895
2014-04-25 08:57:06 +02:00
..
10_source_filtering.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
20_default_values.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
30_template_query_execution.yaml Add simple escape method for special characters to template query 2014-03-20 18:48:14 +01:00
40_search_request_template.yaml [API] renaming search-template to search_template. 2014-03-20 21:58:08 +01:00
issue4895.yaml Throw exception if an additional field was placed inside the "query" body 2014-04-25 08:57:06 +02:00