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

40 lines
866 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: "romanian_example",
settings: {
analysis: {
filter: {
romanian_stop: {
type: "stop",
stopwords: "_romanian_",
},
romanian_keywords: {
type: "keyword_marker",
keywords: ["exemplu"],
},
romanian_stemmer: {
type: "stemmer",
language: "romanian",
},
},
analyzer: {
rebuilt_romanian: {
tokenizer: "standard",
filter: [
"lowercase",
"romanian_stop",
"romanian_keywords",
"romanian_stemmer",
],
},
},
},
},
});
console.log(response);
----