Files
elasticsearch-js/docs/doc_examples/2a70194ebd2f01a3229a5092513676b3.asciidoc
2024-07-29 17:10:05 -05:00

27 lines
589 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.create({
index: "my-index-000001",
settings: {
analysis: {
analyzer: {
my_analyzer: {
tokenizer: "keyword",
char_filter: ["my_custom_html_strip_char_filter"],
},
},
char_filter: {
my_custom_html_strip_char_filter: {
type: "html_strip",
escaped_tags: ["b"],
},
},
},
},
});
console.log(response);
----