How to store currency datatype in elasticsearch?

Can any one tell what is the mapping to store the dollar value in elasticsearch

There is no currency datatype, you can store it as float or integer if you convert dollars to cents.

Ok thanks

If you are using Kibana, then you can get it to display as $(NUMBER) using field formatters :slight_smile: