# ES seems to be aliasing the byte type to the short type

**URL:** <https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870>\
**Category:** Elasticsearch\
**Created:** [November 20, 2014, 3:27pm UTC](https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870 "2014-11-20T15:27:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damien\_Montigny](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Damien\_Montigny](https://discuss.elastic.co/u/Damien_Montigny)\
**Post date:** [November 20, 2014, 3:27pm UTC](https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870/1 "2014-11-20T15:27:43Z")

</div>

Hi everyone,

If was experimenting on mappings for index size optimization purpose and I  
have an issue, it seems a bug to me, I cannot find any documentaion about  
it.

When I declare a field of type \*byte \*ES seems to be considering it as  
_short_, for proof see the error message of the last curl below, it  
mentions the short type even though I declared a byte  
(_MapperParsingException[failed to parse [some\_data]]; nested:  
JsonParseException[Numeric value (32768) out of range of Java short_)

_Every has been tested on a freshly untared ES._

_# Create the index_  
curl -XPUT '[http://localhost:9200/some\_index?pretty](http://localhost:9200/some_index?pretty)' -d '  
{  
"mappings": {  
"some\_type": {  
"dynamic": "strict",  
"properties": {  
"some\_data": {  
"type": "byte"  
}  
}  
}  
}  
}  
'

_# Insert a doc with a value just out of the range of the byte type,  
success, wierd_  
curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
{  
"some\_data": 256  
}  
'

_# Insert a doc with the max value for the short type, success, still wierd_  
curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
{  
"some\_data": 32767  
}  
'

_# Insert a doc with a value just out of the range of the short type,  
failure, ok I get it, ES sees it as a short..._  
curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
{  
"some\_data": 32768  
}  
'

_java -version_ outputs :  
java version "1.7.0\_07"  
Java(TM) SE Runtime Environment (build 1.7.0\_07-b10)  
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

_lsb\_release -a_ outputs :  
Distributor ID: Ubuntu  
Description: Ubuntu 12.04.5 LTS  
Release: 12.04  
Codename: precise

_uname -r_ outputs:  
3.1.10-1.9-ec2

_ES info_ : ES 1.4.0

_Thanks in advance for the help._

Damien

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2af44e04-e495-4641-a275-348d6ce73d5b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2af44e04-e495-4641-a275-348d6ce73d5b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Damien\_Montigny](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Damien\_Montigny](https://discuss.elastic.co/u/Damien_Montigny)\
**Post date:** [December 3, 2014, 2:34pm UTC](https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870/2 "2014-12-03T14:34:26Z")

</div>

Anyone ?

Le jeudi 20 novembre 2014 16:27:44 UTC+1, Damien Montigny a écrit :

> Hi everyone,
> 
> If was experimenting on mappings for index size optimization purpose and I  
> have an issue, it seems a bug to me, I cannot find any documentaion about  
> it.
> 
> When I declare a field of type \*byte \*ES seems to be considering it as  
> _short_, for proof see the error message of the last curl below, it  
> mentions the short type even though I declared a byte  
> (_MapperParsingException[failed to parse [some\_data]]; nested:  
> JsonParseException[Numeric value (32768) out of range of Java short_)
> 
> _Every has been tested on a freshly untared ES._
> 
> _# Create the index_  
> curl -XPUT '[http://localhost:9200/some\_index?pretty](http://localhost:9200/some_index?pretty)' -d '  
> {  
> "mappings": {  
> "some\_type": {  
> "dynamic": "strict",  
> "properties": {  
> "some\_data": {  
> "type": "byte"  
> }  
> }  
> }  
> }  
> }  
> '
> 
> _# Insert a doc with a value just out of the range of the byte type,  
> success, wierd_  
> curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> {  
> "some\_data": 256  
> }  
> '
> 
> _# Insert a doc with the max value for the short type, success, still  
> wierd_  
> curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> {  
> "some\_data": 32767  
> }  
> '
> 
> _# Insert a doc with a value just out of the range of the short type,  
> failure, ok I get it, ES sees it as a short..._  
> curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> {  
> "some\_data": 32768  
> }  
> '
> 
> _java -version_ outputs :  
> java version "1.7.0\_07"  
> Java(TM) SE Runtime Environment (build 1.7.0\_07-b10)  
> Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
> 
> _lsb\_release -a_ outputs :  
> Distributor ID: Ubuntu  
> Description: Ubuntu 12.04.5 LTS  
> Release: 12.04  
> Codename: precise
> 
> _uname -r_ outputs:  
> 3.1.10-1.9-ec2
> 
> _ES info_ : ES 1.4.0
> 
> _Thanks in advance for the help._
> 
> Damien

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [December 3, 2014, 2:37pm UTC](https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870/3 "2014-12-03T14:37:12Z")

</div>

Sounds like a bug. If I had to guess I'd say Elasticsearch is rounding the  
type up to support unsigned bytes and not doing the range check but I  
haven't looked.

Nik

On Wed, Dec 3, 2014 at 9:34 AM, Damien Montigny [damien.montigny@gmail.com](mailto:damien.montigny@gmail.com)  
wrote:

> Anyone ?
> 
> Le jeudi 20 novembre 2014 16:27:44 UTC+1, Damien Montigny a écrit :
> 
> > Hi everyone,
> > 
> > If was experimenting on mappings for index size optimization purpose and  
> > I have an issue, it seems a bug to me, I cannot find any documentaion about  
> > it.
> > 
> > When I declare a field of type \*byte \*ES seems to be considering it as  
> > _short_, for proof see the error message of the last curl below, it  
> > mentions the short type even though I declared a byte  
> > (_MapperParsingException[failed to parse [some\_data]]; nested:  
> > JsonParseException[Numeric value (32768) out of range of Java short_)
> > 
> > _Every has been tested on a freshly untared ES._
> > 
> > _# Create the index_  
> > curl -XPUT '[http://localhost:9200/some\_index?pretty](http://localhost:9200/some_index?pretty)' -d '  
> > {  
> > "mappings": {  
> > "some\_type": {  
> > "dynamic": "strict",  
> > "properties": {  
> > "some\_data": {  
> > "type": "byte"  
> > }  
> > }  
> > }  
> > }  
> > }  
> > '
> > 
> > _# Insert a doc with a value just out of the range of the byte type,  
> > success, wierd_  
> > curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> > {  
> > "some\_data": 256  
> > }  
> > '
> > 
> > _# Insert a doc with the max value for the short type, success, still  
> > wierd_  
> > curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> > {  
> > "some\_data": 32767  
> > }  
> > '
> > 
> > _# Insert a doc with a value just out of the range of the short type,  
> > failure, ok I get it, ES sees it as a short..._  
> > curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> > {  
> > "some\_data": 32768  
> > }  
> > '
> > 
> > _java -version_ outputs :  
> > java version "1.7.0\_07"  
> > Java(TM) SE Runtime Environment (build 1.7.0\_07-b10)  
> > Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
> > 
> > _lsb\_release -a_ outputs :  
> > Distributor ID: Ubuntu  
> > Description: Ubuntu 12.04.5 LTS  
> > Release: 12.04  
> > Codename: precise
> > 
> > _uname -r_ outputs:  
> > 3.1.10-1.9-ec2
> > 
> > _ES info_ : ES 1.4.0
> > 
> > _Thanks in advance for the help._
> > 
> > Damien
> 
> --  
> 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).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2%3DjYno4rAQdUaEuckXVAQQxPmLO9bCNU%3DKfi%2BLVHkJ5A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2%3DjYno4rAQdUaEuckXVAQQxPmLO9bCNU%3DKfi%2BLVHkJ5A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Damien\_Montigny](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Damien\_Montigny](https://discuss.elastic.co/u/Damien_Montigny)\
**Post date:** [December 5, 2014, 1:41pm UTC](https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870/4 "2014-12-05T13:41:07Z")

</div>

Isn't ther anyone here who belongs to the core ES team and could answer  
this question ?  
I thought this was the good place to ask but I'm not sure anymore, maybe I  
misread the documentation.

Le mercredi 3 décembre 2014 15:37:55 UTC+1, Nikolas Everett a écrit :

> Sounds like a bug. If I had to guess I'd say Elasticsearch is rounding  
> the type up to support unsigned bytes and not doing the range check but I  
> haven't looked.
> 
> Nik
> 
> On Wed, Dec 3, 2014 at 9:34 AM, Damien Montigny \<[damien....@gmail.com](mailto:damien....@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Anyone ?
> > 
> > Le jeudi 20 novembre 2014 16:27:44 UTC+1, Damien Montigny a écrit :
> > 
> > > Hi everyone,
> > > 
> > > If was experimenting on mappings for index size optimization purpose and  
> > > I have an issue, it seems a bug to me, I cannot find any documentaion about  
> > > it.
> > > 
> > > When I declare a field of type \*byte \*ES seems to be considering it as  
> > > _short_, for proof see the error message of the last curl below, it  
> > > mentions the short type even though I declared a byte  
> > > (_MapperParsingException[failed to parse [some\_data]]; nested:  
> > > JsonParseException[Numeric value (32768) out of range of Java short_)
> > > 
> > > _Every has been tested on a freshly untared ES._
> > > 
> > > _# Create the index_  
> > > curl -XPUT '[http://localhost:9200/some\_index?pretty](http://localhost:9200/some_index?pretty)' -d '  
> > > {  
> > > "mappings": {  
> > > "some\_type": {  
> > > "dynamic": "strict",  
> > > "properties": {  
> > > "some\_data": {  
> > > "type": "byte"  
> > > }  
> > > }  
> > > }  
> > > }  
> > > }  
> > > '
> > > 
> > > _# Insert a doc with a value just out of the range of the byte type,  
> > > success, wierd_  
> > > curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> > > {  
> > > "some\_data": 256  
> > > }  
> > > '
> > > 
> > > _# Insert a doc with the max value for the short type, success, still  
> > > wierd_  
> > > curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> > > {  
> > > "some\_data": 32767  
> > > }  
> > > '
> > > 
> > > _# Insert a doc with a value just out of the range of the short type,  
> > > failure, ok I get it, ES sees it as a short..._  
> > > curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> > > {  
> > > "some\_data": 32768  
> > > }  
> > > '
> > > 
> > > _java -version_ outputs :  
> > > java version "1.7.0\_07"  
> > > Java(TM) SE Runtime Environment (build 1.7.0\_07-b10)  
> > > Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
> > > 
> > > _lsb\_release -a_ outputs :  
> > > Distributor ID: Ubuntu  
> > > Description: Ubuntu 12.04.5 LTS  
> > > Release: 12.04  
> > > Codename: precise
> > > 
> > > _uname -r_ outputs:  
> > > 3.1.10-1.9-ec2
> > > 
> > > _ES info_ : ES 1.4.0
> > > 
> > > _Thanks in advance for the help._
> > > 
> > > Damien
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3a3cf99f-8233-4a5b-b22d-a49ff5e30a95%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3a3cf99f-8233-4a5b-b22d-a49ff5e30a95%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 5, 2014, 5:12pm UTC](https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870/5 "2014-12-05T17:12:40Z")

</div>

Damien,

I think that Nikolas’s answer is correct. I would then suggest to open a bug with all the details you sent to the mailing list.

Best

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 5 déc. 2014 à 14:41, Damien Montigny [damien.montigny@gmail.com](mailto:damien.montigny@gmail.com) a écrit :
> 
> Isn't ther anyone here who belongs to the core ES team and could answer this question ?  
> I thought this was the good place to ask but I'm not sure anymore, maybe I misread the documentation.
> 
> Le mercredi 3 décembre 2014 15:37:55 UTC+1, Nikolas Everett a écrit :  
> Sounds like a bug. If I had to guess I'd say Elasticsearch is rounding the type up to support unsigned bytes and not doing the range check but I haven't looked.
> 
> Nik
> 
> On Wed, Dec 3, 2014 at 9:34 AM, Damien Montigny \<[damien....@gmail.com](mailto:damien....@gmail.com) \<javascript:\>\> wrote:  
> Anyone ?
> 
> Le jeudi 20 novembre 2014 16:27:44 UTC+1, Damien Montigny a écrit :  
> Hi everyone,
> 
> If was experimenting on mappings for index size optimization purpose and I have an issue, it seems a bug to me, I cannot find any documentaion about it.
> 
> When I declare a field of type byte ES seems to be considering it as short, for proof see the error message of the last curl below, it mentions the short type even though I declared a byte  
> (MapperParsingException[failed to parse [some\_data]]; nested: JsonParseException[Numeric value (32768) out of range of Java short)
> 
> Every has been tested on a freshly untared ES.
> 
> # Create the index
> 
> curl -XPUT '[http://localhost:9200/some\_index?pretty](http://localhost:9200/some_index?pretty) [http://localhost:9200/some\_index?pretty](http://localhost:9200/some_index?pretty)' -d '  
> {  
> "mappings": {  
> "some\_type": {  
> "dynamic": "strict",  
> "properties": {  
> "some\_data": {  
> "type": "byte"  
> }  
> }  
> }  
> }  
> }  
> '
> 
> # Insert a doc with a value just out of the range of the byte type, success, wierd
> 
> curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty) [http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> {  
> "some\_data": 256  
> }  
> '
> 
> # Insert a doc with the max value for the short type, success, still wierd
> 
> curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty) [http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> {  
> "some\_data": 32767  
> }  
> '
> 
> # Insert a doc with a value just out of the range of the short type, failure, ok I get it, ES sees it as a short...
> 
> curl -XPUT "[http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty) [http://localhost:9200/some\_index/some\_type/1?pretty](http://localhost:9200/some_index/some_type/1?pretty)" -d '  
> {  
> "some\_data": 32768  
> }  
> '
> 
> java -version outputs :  
> java version "1.7.0\_07"  
> Java(TM) SE Runtime Environment (build 1.7.0\_07-b10)  
> Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
> 
> lsb\_release -a outputs :  
> Distributor ID: Ubuntu  
> Description: Ubuntu 12.04.5 LTS  
> Release: 12.04  
> Codename: precise
> 
> uname -r outputs:  
> 3.1.10-1.9-ec2
> 
> ES info : ES 1.4.0
> 
> Thanks in advance for the help.
> 
> Damien
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/25c5c56c-31ee-48c2-ab6f-081adf007868%40googlegroups.com?utm_medium=email&utm_source=footer).
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3a3cf99f-8233-4a5b-b22d-a49ff5e30a95%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3a3cf99f-8233-4a5b-b22d-a49ff5e30a95%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/3a3cf99f-8233-4a5b-b22d-a49ff5e30a95%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/3a3cf99f-8233-4a5b-b22d-a49ff5e30a95%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/EE852439-8B24-43A4-8BB0-1F4B1DA5674D%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/EE852439-8B24-43A4-8BB0-1F4B1DA5674D%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:45am UTC](https://discuss.elastic.co/t/es-seems-to-be-aliasing-the-byte-type-to-the-short-type/20870/6 "2017-07-06T00:45:30Z")

</div>


