// 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: "length_custom_example", settings: { analysis: { analyzer: { whitespace_length_2_to_10_char: { tokenizer: "whitespace", filter: ["length_2_to_10_char"], }, }, filter: { length_2_to_10_char: { type: "length", min: 2, max: 10, }, }, }, }, }); console.log(response); ----