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

40 lines
875 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: "hungarian_example",
settings: {
analysis: {
filter: {
hungarian_stop: {
type: "stop",
stopwords: "_hungarian_",
},
hungarian_keywords: {
type: "keyword_marker",
keywords: ["példa"],
},
hungarian_stemmer: {
type: "stemmer",
language: "hungarian",
},
},
analyzer: {
rebuilt_hungarian: {
tokenizer: "standard",
filter: [
"lowercase",
"hungarian_stop",
"hungarian_keywords",
"hungarian_stemmer",
],
},
},
},
},
});
console.log(response);
----