[source, ruby]
----
response = client.indices.create(
  index: 'my-index-000001',
  body: {
    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'
          }
        }
      }
    }
  }
)
puts response
----
