Files
elasticsearch-js/docs/reference/api/IndicesPutIndexTemplateIndexTemplateMapping.md
2025-05-28 10:02:30 -05:00

9 lines
852 B
Markdown

# `IndicesPutIndexTemplateIndexTemplateMapping` [interface-IndicesPutIndexTemplateIndexTemplateMapping]
| Name | Type | Description |
| - | - | - |
| `aliases` | Record<[IndexName](./IndexName.md), [IndicesAlias](./IndicesAlias.md)> | Aliases to add. If the index template includes a `data_stream` object, these are data stream aliases. Otherwise, these are index aliases. Data stream aliases ignore the `index_routing`, `routing`, and `search_routing` options. |
| `lifecycle` | [IndicesDataStreamLifecycle](./IndicesDataStreamLifecycle.md) | &nbsp; |
| `mappings` | [MappingTypeMapping](./MappingTypeMapping.md) | Mapping for fields in the index. If specified, this mapping can include field names, field data types, and mapping parameters. |
| `settings` | [IndicesIndexSettings](./IndicesIndexSettings.md) | Configuration options for the index. |