OpenSearch/docs/reference/search/request
Nik Everett 1e587406d8 Fail yaml tests and docs snippets that get unexpected warnings
Adds `warnings` syntax to the yaml test that allows you to expect
a `Warning` header that looks like:
```
    - do:
        warnings:
            - '[index] is deprecated'
            - quotes are not required because yaml
            - but this argument is always a list, never a single string
            - no matter how many warnings you expect
        get:
            index:    test
            type:    test
            id:        1
```

These are accessible from the docs with:
```
// TEST[warning:some warning]
```

This should help to force you to update the docs if you deprecate
something. You *must* add the warnings marker to the docs or the build
will fail. While you are there you *should* update the docs to add
deprecation warnings visible in the rendered results.
2016-08-04 15:23:05 -04:00
..
docvalue-fields.asciidoc Bad asciidoc link 2016-07-04 11:02:06 +02:00
explain.asciidoc Add CONSOLE to several trivial search request docs. 2016-05-18 13:15:19 +02:00
from-size.asciidoc Add CONSOLE to from/size docs 2016-05-18 11:54:41 +02:00
highlighting.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
index-boost.asciidoc Add CONSOLE to several trivial search request docs. 2016-05-18 13:15:19 +02:00
inner-hits.asciidoc Revert "Add console to docs for inner hits, explain, and friends" 2016-08-01 14:09:54 +02:00
min-score.asciidoc Add CONSOLE to several trivial search request docs. 2016-05-18 13:15:19 +02:00
named-queries-and-filters.asciidoc Add indent 2016-05-19 09:33:29 +02:00
post-filter.asciidoc Add CONSOLE to post-filter 2016-05-18 14:31:04 +02:00
preference.asciidoc Remove only node preference 2016-06-17 15:27:46 -04:00
query.asciidoc Add CONSOLE to several trivial search request docs. 2016-05-18 13:15:19 +02:00
rescore.asciidoc cutover some docs to painless 2016-06-27 09:55:16 -04:00
script-fields.asciidoc cutover some docs to painless 2016-06-27 09:55:16 -04:00
scroll.asciidoc Revert "Add console to docs for inner hits, explain, and friends" 2016-08-01 14:09:54 +02:00
search-after.asciidoc Convert search-after tests to // CONSOLE 2016-05-18 06:37:13 -04:00
search-type.asciidoc Remove the scan and count search types. 2015-09-07 15:18:45 +02:00
sort.asciidoc Remove wait_for_status=yellow from the docs 2016-07-15 16:02:07 -04:00
source-filtering.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
stored-fields.asciidoc Restore reverted change now that alpha4 is out: 2016-07-04 10:39:49 +02:00
version.asciidoc Add CONSOLE to version docs 2016-05-18 15:32:48 +02:00