Hey all. I am on ES 5.1.1 and I am trying to use the _rollover api. I have an index test-2017.05.18-1 with an alias test-w. When calling the rollover api with max_age 0d, my new index associated with the test-w alias is test-2017.05.18-000002. The doc here (https://www.elastic.co/guide/en/elasticsearch/reference/5.1/indices-rollover-index.html) seems to indicate that date math should be applied as well, to create an index test-2017.05.19-000002, but that doesn't seem to be the case.
Am I misunderstanding the doc, or am I doing something incorrectly?