However, if you have already indexed documents where [hour] was a string, then elasticsearch will convert the integer to a string as it indexes new documents. You will need to index the documents into a new index.
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.