Added/updated snippets for docs (#2318)
This commit is contained in:
18
docs/doc_examples/5302f4f2bcc0f400ff71c791e6f68d7b.asciidoc
Normal file
18
docs/doc_examples/5302f4f2bcc0f400ff71c791e6f68d7b.asciidoc
Normal file
@ -0,0 +1,18 @@
|
||||
// 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: "whitespace",
|
||||
filter: [
|
||||
{
|
||||
type: "keyword_marker",
|
||||
keywords: ["jumping"],
|
||||
},
|
||||
"stemmer",
|
||||
],
|
||||
text: "fox running and jumping",
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user