# Elasticsearch changing scaled\_float to float by itself?

**URL:** <https://discuss.elastic.co/t/elasticsearch-changing-scaled-float-to-float-by-itself/148858>\
**Category:** Elasticsearch\
**Created:** [September 17, 2018, 3:41pm UTC](https://discuss.elastic.co/t/elasticsearch-changing-scaled-float-to-float-by-itself/148858 "2018-09-17T15:41:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![33degrees](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/33degrees/32/35611_2.png) [@33degrees](https://discuss.elastic.co/u/33degrees)\
**Post date:** [September 17, 2018, 3:41pm UTC](https://discuss.elastic.co/t/elasticsearch-changing-scaled-float-to-float-by-itself/148858/1 "2018-09-17T15:41:24Z")

</div>

I've recently noticed that a field I had declared as a scaled float is now a float. I'm not sure how this happened, but my guess is that elasticsearch did it automatically when a value that exceeded the precision was indexed: is this possible?

---

<div class="post-metadata">

**Author:** ![33degrees](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/33degrees/32/35611_2.png) [@33degrees](https://discuss.elastic.co/u/33degrees)\
**Post date:** [September 17, 2018, 3:56pm UTC](https://discuss.elastic.co/t/elasticsearch-changing-scaled-float-to-float-by-itself/148858/2 "2018-09-17T15:56:08Z")

</div>

There's another field that was supposed to be a long that is now an int. Very confusing.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 15, 2018, 3:56pm UTC](https://discuss.elastic.co/t/elasticsearch-changing-scaled-float-to-float-by-itself/148858/3 "2018-10-15T15:56:08Z")

</div>

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