// 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: "danish_example",
  settings: {
    analysis: {
      filter: {
        danish_stop: {
          type: "stop",
          stopwords: "_danish_",
        },
        danish_keywords: {
          type: "keyword_marker",
          keywords: ["eksempel"],
        },
        danish_stemmer: {
          type: "stemmer",
          language: "danish",
        },
      },
      analyzer: {
        rebuilt_danish: {
          tokenizer: "standard",
          filter: [
            "lowercase",
            "danish_stop",
            "danish_keywords",
            "danish_stemmer",
          ],
        },
      },
    },
  },
});
console.log(response);
----
