-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Closed
Labels
:Data Management/Indices APIsDO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.>bugTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.
Description
The _index_template/_simulate_index API doesn't take data-stream level mappings into account, but it should:
# create data stream
PUT _data_stream/logs-test-abc
# add mappings
PUT _data_stream/logs-test-abc/_mappings
{
"properties": {
"x": {
"type": "keyword"
}
}
}
# simulate the index - x is not there
POST _index_template/_simulate_index/logs-test-abc
# actually rollover the index
POST logs-test-abc/_rollover
# x is mapped as expected in the new write index
GET logs-test-abc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Data Management/Indices APIsDO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.>bugTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.