In my application, I want to sort fields similar to the Kibana Discover page. While exploring Kibana APIs for sorting, I noticed that Kibana addsunmapped_type: "boolean" in sort query to all the fields. I just want to ask: is this a hardcoded value, or do I need to change it based on the data type or the data itself? I checked that Kibana adds the same unmapped_type: "boolean" to all fields, including integers and datetime fields etc.
This setting is configurable via sort:options on Advanced Settings page. It should be based on the field type for the fields which are being sorted on.
Hi @jughosta, Thanks for the quick response. Is there a public API available that provides access to Advanced Settings and fetch current value of sort:options?
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.