Mapping not applied to new index after rollover #45399
Labels
>bug
:Data Management/Indices APIs
APIs to create and manage indices and templates
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Version 7.2.0
Plugins installed: [none]
OS version: Linux 4.1.12-124.28.6.el7uek.x86_64
Description of the problem including expected versus actual behavior:
When calling _rollover with a supplied mapping, it is not applied to the new index. Issue first noticed in the Rest High Level Client, but present when directly making requests. Expected behavior is that mappings would be applied. Settings are correctly applied.
Steps to reproduce:
PUT test-index
POST _aliases
Note: If I use the same
settings
andmapping
content above to manually PUT an index, it works correctlyGET test-alias/_settings, validate setting present
GET test-alias/_mappings
Workaround: Manually apply the mappings to the index after rollover happens.
The text was updated successfully, but these errors were encountered: