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

21 lines
429 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: "custom_truncate_example",
settings: {
analysis: {
analyzer: {
standard_truncate: {
tokenizer: "standard",
filter: ["truncate"],
},
},
},
},
});
console.log(response);
----