How to use "aggs" query on BigDecimal-type data?

Hi there, i want to store bigdecimal in elastisearch, but i found it's not be supported except convert the data to string or float, but if i do so, string will lead to the data can't be used for aggs; and float will lead to precision loss. Is there any solution?

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