// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples

[source, js]
----
const response0 = await client.indices.close({
  index: 'twitter'
})
console.log(response0)

const response1 = await client.indices.putSettings({
  index: 'twitter',
  body: {
    analysis: {
      analyzer: {
        content: {
          type: 'custom',
          tokenizer: 'whitespace'
        }
      }
    }
  }
})
console.log(response1)

const response2 = await client.indices.open({
  index: 'twitter'
})
console.log(response2)
----

