Confused!Different types of data are stored in the same field

Dynamically added data, the same field originally stored as long type, now stored text, can not store, Is there anyone have encountered such problems, how to deal with.
I have used "ignore_malformed", but he cannot be searched and aggregated, which is not suitable for current use.
I wonder if there is a type that can store various data types and support search and aggregation.
thank you

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