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

60 lines
1.2 KiB
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: "french_example",
settings: {
analysis: {
filter: {
french_elision: {
type: "elision",
articles_case: true,
articles: [
"l",
"m",
"t",
"qu",
"n",
"s",
"j",
"d",
"c",
"jusqu",
"quoiqu",
"lorsqu",
"puisqu",
],
},
french_stop: {
type: "stop",
stopwords: "_french_",
},
french_keywords: {
type: "keyword_marker",
keywords: ["Example"],
},
french_stemmer: {
type: "stemmer",
language: "light_french",
},
},
analyzer: {
rebuilt_french: {
tokenizer: "standard",
filter: [
"french_elision",
"lowercase",
"french_stop",
"french_keywords",
"french_stemmer",
],
},
},
},
},
});
console.log(response);
----