Please format your code using </>
icon as explained in this guide. It will make your post more readable.
Or use markdown style like:
```
CODE
```
It depends. Type integer is indexed and not stored. Look at the default values at https://www.elastic.co/guide/en/elasticsearch/reference/5.2/number.html