https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html point that the following numeric data types are supported :
However this doc page, https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html, says:
Each field has a data type which can be:
a simple type like text, keyword, date, long, double, boolean or ip.
So does it mean fields cannot be integer and float and should be instead long and double accordingly ?