732741dd8d
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 |
||
---|---|---|
.. | ||
admin | ||
aggregations | ||
docs | ||
query-dsl | ||
aggs.asciidoc | ||
client.asciidoc | ||
docs.asciidoc | ||
index.asciidoc | ||
indexed-scripts.asciidoc | ||
query-dsl.asciidoc | ||
search.asciidoc |