If you are using Elasticsearch 2.x, this should not make any difference since both data types are backed by the similar data structure, the inverted index. In ES 5.0 (which uses Lucene 6) this might have changed since Lucene 6 introduced the "dimensional points" feature to represent numeric values. I don't know if that has a big impact on your use case though, in this case I'd suggest to do some measuring of your own. Would be nice to share your results here.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.