OpenSearch/docs/reference/query-dsl
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
..
bool-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
boosting-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
common-terms-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
compound-queries.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
constant-score-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
dis-max-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
exists-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
full-text-queries.asciidoc Update full-text-queries.asciidoc 2016-05-10 12:18:21 +02:00
function-score-query.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
fuzzy-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
geo-bounding-box-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
geo-distance-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
geo-distance-range-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
geo-polygon-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
geo-queries.asciidoc Fix typos in docs. 2016-02-09 02:07:32 -08:00
geo-shape-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
geohash-cell-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
has-child-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
has-parent-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
ids-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
indices-query.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
joining-queries.asciidoc Cleanup ParentFieldMapper: 2016-01-20 16:56:22 +01:00
match-all-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
match-phrase-prefix-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
match-phrase-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
match-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
minimum-should-match.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
mlt-query.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
multi-match-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
multi-term-rewrite.asciidoc Expose Lucene's new TopTermsBlendedFreqScoringRewrite. 2015-07-08 16:01:47 +02:00
nested-query.asciidoc [TEST] wait for yellow after setup doc tests (#18726) 2016-06-03 16:37:28 +02:00
parent-id-query.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
percolate-query.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
prefix-query.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
query-string-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
query-string-syntax.asciidoc Remove `_missing_` from the docs. 2016-08-01 16:57:37 +02:00
query_filter_context.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
range-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
regexp-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
regexp-syntax.asciidoc Corrected regexp syntax docs for COMPLEMENT 2016-03-14 10:46:31 +01:00
script-query.asciidoc cutover some docs to painless 2016-06-27 09:55:16 -04:00
simple-query-string-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-containing-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-first-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-multi-term-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-near-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-not-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-or-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-queries.asciidoc Docs: Reorganised the Query DSL docs into families and explaing query vs filter context 2015-06-04 01:59:37 +02:00
span-term-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
span-within-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
special-queries.asciidoc percolator: renamed `percolator` query to `percolate` query 2016-04-20 15:23:54 +02:00
template-query.asciidoc Fail yaml tests and docs snippets that get unexpected warnings 2016-08-04 15:23:05 -04:00
term-level-queries.asciidoc Update term-level-queries.asciidoc 2016-08-03 10:18:13 -06:00
term-query.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
terms-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
type-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00
wildcard-query.asciidoc Add back doc execution to query dsl. 2016-05-24 12:43:41 +02:00