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

27 lines
560 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: {
default: {
tokenizer: "whitespace",
filter: ["my_custom_stop_words_filter"],
},
},
filter: {
my_custom_stop_words_filter: {
type: "stop",
ignore_case: true,
},
},
},
},
});
console.log(response);
----