# What are the ranges on the different Number Types in Elasticsearch?

**URL:** <https://discuss.elastic.co/t/what-are-the-ranges-on-the-different-number-types-in-elasticsearch/10676>\
**Category:** Elasticsearch\
**Created:** [February 8, 2013, 11:42pm UTC](https://discuss.elastic.co/t/what-are-the-ranges-on-the-different-number-types-in-elasticsearch/10676 "2013-02-08T23:42:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbrianjones](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbrianjones/32/1402_2.png) [@tbrianjones](https://discuss.elastic.co/u/tbrianjones)\
**Post date:** [February 8, 2013, 11:42pm UTC](https://discuss.elastic.co/t/what-are-the-ranges-on-the-different-number-types-in-elasticsearch/10676/1 "2013-02-08T23:42:48Z")

</div>

What are the ranges for the different number types in Elasticsearch? Are  
they signed? Is that adjustable?

float:  
double:  
byte:  
short:  
integer:  
long:

I've discovered a few of these by messing around, and via different errors,  
but have not seen the details in any documentation.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [February 9, 2013, 3:02pm UTC](https://discuss.elastic.co/t/what-are-the-ranges-on-the-different-number-types-in-elasticsearch/10676/2 "2013-02-09T15:02:05Z")

</div>

On Fri, 2013-02-08 at 15:42 -0800, Brian Jones wrote:

> What are the ranges for the different number types in Elasticsearch?  
> Are they signed? Is that adjustable?

They are standard Java types. I detailed them here:  
[https://metacpan.org/module/DRTECH/Elastic-Model-0.24/lib/Elastic/Manual/Attributes.pod#NUMERIC-FIELDS](https://metacpan.org/module/DRTECH/Elastic-Model-0.24/lib/Elastic/Manual/Attributes.pod#NUMERIC-FIELDS)

clint

> float:  
> double:  
> byte:  
> short:  
> integer:  
> long:
> 
> I've discovered a few of these by messing around, and via different  
> errors, but have not seen the details in any documentation.
> 
> --  
> You received this message because you are subscribed to the Google  
> Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send  
> an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:52am UTC](https://discuss.elastic.co/t/what-are-the-ranges-on-the-different-number-types-in-elasticsearch/10676/3 "2017-07-06T02:52:15Z")

</div>

Closed on July 6, 2017, 2:52am UTC


