OpenSearch/docs/reference/indices
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
..
aliases.asciidoc Add TESTRESPONSE code 2016-05-12 18:44:08 -07:00
analyze.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
clearcache.asciidoc Merge pull request #17030 from 36degrees/patch-1 2016-03-09 15:34:15 +01:00
create-index.asciidoc Documentation changes for wait_for_active_shards (#19581) 2016-08-02 09:15:01 -04:00
delete-index.asciidoc Merge pull request #15856 from marcbachmann/patch-1 2016-01-10 10:48:32 +01:00
flush.asciidoc Consolify term and phrase suggester docs 2016-07-26 12:28:31 -04:00
forcemerge.asciidoc Add Force Merge API, deprecate Optimize API 2015-10-20 09:00:24 -06:00
get-field-mapping.asciidoc Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
get-index.asciidoc Remove warmers and the warmer API. 2016-01-07 09:57:07 +01:00
get-mapping.asciidoc Docs: Removed all the added/deprecated tags from 1.x 2014-09-26 21:04:42 +02:00
get-settings.asciidoc Update get-settings.asciidoc 2015-10-02 16:46:45 +02:00
indices-exists.asciidoc [DOCS] add -i flag to more curl HEAD calls 2015-03-21 08:56:20 +01:00
open-close.asciidoc corrected the use of two synonymous words (#19498) 2016-07-21 12:21:12 +02:00
put-mapping.asciidoc Add note to put mapping API docs on index creation 2016-07-31 15:58:24 -04:00
recovery.asciidoc Consolidate shard level abstractions 2015-06-24 15:18:04 +02:00
refresh.asciidoc Rename RobinEngine and friends to InternalEngine 2014-01-13 15:49:10 +01:00
rollover-index.asciidoc Documentation changes for wait_for_active_shards (#19581) 2016-08-02 09:15:01 -04:00
segments.asciidoc Update segments.asciidoc 2016-01-28 13:33:01 +01:00
shadow-replicas.asciidoc Persistent Node Ids (#19140) 2016-07-04 21:09:25 +02:00
shard-stores.asciidoc Fix typos in docs. 2016-02-09 02:07:32 -08:00
shrink-index.asciidoc Documentation changes for wait_for_active_shards (#19581) 2016-08-02 09:15:01 -04:00
stats.asciidoc document suggest stats being merged with search stats 2016-03-23 16:37:57 -04:00
templates.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
types-exists.asciidoc [DOCS] add -i flag to curl HEAD call 2015-03-21 08:56:12 +01:00
update-settings.asciidoc Add Force Merge API, deprecate Optimize API 2015-10-20 09:00:24 -06:00
upgrade.asciidoc Docs: Updated the upgrade API docs to explain that the reindex API should be used instead 2016-03-31 14:34:31 +02:00