ES migration from 6.8 to 7.17. Data type change in template for "date" type

Hi Team
We are planning to move from ES 6.8 to 7.17 server migration . But in 7.17 -ve values are not supported for date field. So am thinking to change the index template for that specific field from date to long type . Does this in any way affect the query performance or will it create any issue after the rolling upgrade when we access the older index data which is in date type .
Field in 6.8 template as below

       "dateInEpoch": {
          "type": "date",
          "format": "epoch_millis",
          "null_value": 0,
          "doc_values": true
        },

Proposed change for Field in 7.17 template as below

        "dateInEpoch": {
          "type": "long",
          "null_value": 0,
          "doc_values": true
        },

Thanks in Advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.