(cherry picked from commit f737290d10)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
21 lines
428 B
Plaintext
21 lines
428 B
Plaintext
// 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",
|
|
explain: true,
|
|
attributes: "keyword",
|
|
});
|
|
console.log(response);
|
|
----
|