OpenSearch/docs/reference/search
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
..
request Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
suggesters Docs: Fixed callout error that broke the build. 2016-08-03 17:20:00 -07:00
count.asciidoc Adds CONSOLE to count api 2016-05-18 13:36:19 +02:00
explain.asciidoc Revert "Add console to docs for inner hits, explain, and friends" 2016-08-01 14:09:54 +02:00
field-stats.asciidoc Revert "Add console to docs for inner hits, explain, and friends" 2016-08-01 14:09:54 +02:00
multi-search.asciidoc Closes #18013. Added status field to _msearch response bodies. 2016-06-16 00:25:17 -07:00
percolate.asciidoc percolator: renamed `percolator` query to `percolate` query 2016-04-20 15:23:54 +02:00
profile.asciidoc Record method counts while profiling (#18302) 2016-07-14 09:46:24 -04:00
request-body.asciidoc Revert "Add console to docs for inner hits, explain, and friends" 2016-08-01 14:09:54 +02:00
search-shards.asciidoc Docs: Fixed path to search-shards 2014-07-26 15:05:53 +02:00
search-template.asciidoc Removed array-of-string example from search template 2016-07-28 13:49:53 +02:00
search.asciidoc Fix minor typo (#18222) 2016-05-10 09:39:42 +02:00
suggesters.asciidoc Consolify term and phrase suggester docs 2016-07-26 12:28:31 -04:00
uri-request.asciidoc Consolify term and phrase suggester docs 2016-07-26 12:28:31 -04:00
validate.asciidoc [docs] Add // CONSOLE to validate and uri-request 2016-05-17 21:21:43 -04:00