Added/updated snippets for docs (#2318)
This commit is contained in:
14
docs/doc_examples/f8cafb1a08bc9b2dd5239f99d4e93f4c.asciidoc
Normal file
14
docs/doc_examples/f8cafb1a08bc9b2dd5239f99d4e93f4c.asciidoc
Normal file
@ -0,0 +1,14 @@
|
||||
// This file is autogenerated, DO NOT EDIT
|
||||
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
||||
|
||||
[source, js]
|
||||
----
|
||||
const response = await client.indices.analyze({
|
||||
tokenizer: {
|
||||
type: "char_group",
|
||||
tokenize_on_chars: ["whitespace", "-", "\n"],
|
||||
},
|
||||
text: "The QUICK brown-fox",
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user