OpenSearch/docs/java-api/query-dsl
Nik Everett 732741dd8d Build that java api docs from a test (#24354)
We've had `QueryDSLDocumentationTests` for a while but it had a very
hopeful comment at the top about how we want to make sure that the
example in the query-dsl docs match up with the test but we never
had anything that made *sure* that they did. This changes that!

Now the examples from the query-dsl docs are all built from the
`QueryDSLDocumentationTests`. All except for the percolator example
because that is hard to do as it stands now.

To make this easier this change moves `QueryDSLDocumentationTests`
from core and into the high level rest client. This is useful for
two reasons:
1. We expect the high level rest client to be able to use the builders.
2. The code that builds that docs doesn't check out all of
Elasticsearch. It only checks out certain directories. Since we're
already including snippets from that directory we don't have to
make any changes to that process.

Closes #24320
2017-05-02 13:00:56 -04:00
..
bool-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
boosting-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
common-terms-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
compound-queries.asciidoc Remove indices query (#21837) 2016-11-30 19:37:01 +01:00
constant-score-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
dis-max-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
exists-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
full-text-queries.asciidoc [doc] Reorganize and clean Java documentation 2015-07-01 22:19:11 +02:00
function-score-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
fuzzy-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
geo-bounding-box-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
geo-distance-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
geo-polygon-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
geo-queries.asciidoc Update Java documentation for 5.0 2016-11-30 14:51:06 +01:00
geo-shape-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
has-child-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
has-parent-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
ids-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
joining-queries.asciidoc [doc] Reorganize and clean Java documentation 2015-07-01 22:19:11 +02:00
match-all-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
match-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
mlt-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
multi-match-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
nested-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
percolate-query.asciidoc Add ID for percolate query to Java API docs 2016-12-21 10:54:27 +01:00
prefix-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
query-string-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
range-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
regexp-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
script-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
simple-query-string-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-containing-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-first-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-multi-term-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-near-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-not-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-or-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-queries.asciidoc [doc] Reorganize and clean Java documentation 2015-07-01 22:19:11 +02:00
span-term-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
span-within-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
special-queries.asciidoc Update Java documentation for 5.0 2016-11-30 14:51:06 +01:00
term-level-queries.asciidoc Removes all the reference of the query in the docs 2015-12-11 20:07:57 +01:00
term-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
terms-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
type-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
wildcard-query.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00