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

45 lines
989 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: "turkish_example",
settings: {
analysis: {
filter: {
turkish_stop: {
type: "stop",
stopwords: "_turkish_",
},
turkish_lowercase: {
type: "lowercase",
language: "turkish",
},
turkish_keywords: {
type: "keyword_marker",
keywords: ["örnek"],
},
turkish_stemmer: {
type: "stemmer",
language: "turkish",
},
},
analyzer: {
rebuilt_turkish: {
tokenizer: "standard",
filter: [
"apostrophe",
"turkish_lowercase",
"turkish_stop",
"turkish_keywords",
"turkish_stemmer",
],
},
},
},
},
});
console.log(response);
----