OpenSearch/docs/reference/index-modules
Nik Everett 4b1c116461 Generate and run tests from the docs
Adds infrastructure so `gradle :docs:check` will extract tests from
snippets in the documentation and execute the tests. This is included
in `gradle check` so it should happen on CI and during a normal build.

By default each `// AUTOSENSE` snippet creates a unique REST test. These
tests are executed in a random order and the cluster is wiped between
each one. If multiple snippets chain together into a test you can annotate
all snippets after the first with `// TEST[continued]` to have the
generated tests for both snippets joined.

Snippets marked as `// TESTRESPONSE` are checked against the response
of the last action.

See docs/README.asciidoc for lots more.

Closes #12583. That issue is about catching bugs in the docs during build.
This catches *some* bugs in the docs during build which is a good start.
2016-05-05 13:58:03 -04:00
..
allocation Generate and run tests from the docs 2016-05-05 13:58:03 -04:00
allocation.asciidoc Docs: Documented index prioritization 2015-07-15 18:05:42 +02:00
analysis.asciidoc Fixing typo 2015-10-26 16:48:20 -04:00
mapper.asciidoc Docs: Mapping docs completely rewritten for 2.0 2015-08-06 17:24:51 +02:00
merge.asciidoc Redocument the `index.merge.scheduler.max_thread_count` setting 2016-03-05 16:28:43 +01:00
similarity.asciidoc Document 5.0 mapping changes. 2016-03-22 16:22:58 +01:00
slowlog.asciidoc Logging: Log less source in slowlog 2015-08-11 13:16:04 -07:00
store.asciidoc Update store documentation after #17616. 2016-05-04 08:53:11 +02:00
translog.asciidoc Remove the ability to fsync on every operation and only schedule fsync task if really needed 2016-01-27 12:28:38 +01:00