OpenSearch/docs/reference/analysis/analyzers
Nik Everett f9dc86836d
Docs: Test examples that recreate lang analyzers (#29535)
We have a pile of documentation describing how to rebuild the built in
language analyzers and, previously, our documentation testing framework
made sure that the examples successfully built *an* analyzer but they
didn't assert that the analyzer built by the documentation matches the
built in anlayzer. Unsuprisingly, some of the examples aren't quite
right.

This adds a mechanism that tests that the analyzers built by the docs.
The mechanism is fairly simple and brutal but it seems to be working:
build a hundred random unicode sequences and send them through the
`_analyze` API with the rebuilt analyzer and then again through the
built in analyzer. Then make sure both APIs return the same results.
Each of these calls to `_anlayze` takes about 20ms on my laptop which
seems fine.
2018-05-09 09:23:10 -04:00
..
configuring.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
custom-analyzer.asciidoc [Docs] Fix name of character filter in example. (#26724) 2017-09-20 17:08:43 +02:00
fingerprint-analyzer.asciidoc Add the ability to disable the retrieval of the stored fields entirely 2016-08-24 16:40:08 +02:00
keyword-analyzer.asciidoc Docs: Improved tokenizer docs (#18356) 2016-05-19 19:42:23 +02:00
lang-analyzer.asciidoc Docs: Test examples that recreate lang analyzers (#29535) 2018-05-09 09:23:10 -04:00
pattern-analyzer.asciidoc Fix language in some docs 2017-04-01 14:45:44 -04:00
simple-analyzer.asciidoc Docs: Improved tokenizer docs (#18356) 2016-05-19 19:42:23 +02:00
standard-analyzer.asciidoc Add the ability to disable the retrieval of the stored fields entirely 2016-08-24 16:40:08 +02:00
stop-analyzer.asciidoc Update stop-analyzer.asciidoc (#23195) 2017-02-16 13:36:15 +01:00
whitespace-analyzer.asciidoc Docs: Improved tokenizer docs (#18356) 2016-05-19 19:42:23 +02:00