// 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: "my-index-000001",
  settings: {
    analysis: {
      analyzer: {
        my_custom_analyzer: {
          type: "custom",
          tokenizer: "standard",
          filter: ["my_custom_keyword_marker_filter", "porter_stem"],
        },
      },
      filter: {
        my_custom_keyword_marker_filter: {
          type: "keyword_marker",
          keywords_path: "analysis/example_word_list.txt",
        },
      },
    },
  },
});
console.log(response);
----
