Modify field type when merging index

I am trying to merge daily indexes into monthly indexes, but I get some errors like

"reason":"mapper [] cannot be changed from type [long] to [float]"},"status":400}

In my application, I know the type for example should be [long], so is there a way to convert this when importing the document so it has the correct type?

any advice is much appreciated

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