I'm trying to make a custom script sorting and can't find what type values I may use. This page says that short, integer and float types are supported, but it gives me an error:
The default scripting language is Painless and it calls integers ints. Sorry for the confusion. That page you linked is about Elasticsearch's types in mappings. Here are some pages about painless.
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.