// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.mjs` 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);
----
