The core idea of index sorting has not changed since 6.0 - your pro's and cons are correct. One more thing, also merging can take longer as it needs to sort data while merging several segments together (even though the data in the segments is presorted).
Not sure what you refer to with faster sorting for standard queries. If that means that your regular queries involve the sorted field in the sorting, then: yes.
Is there any question hidden behind your last one?
Hi @spinscale,
Yes, I'm pondering whether to turn on index sorting in one of our secondary clusters. Sort on most common fields - maybe a couple plus @timestamp. My hope is that impact on throughput will be minimal while compressing index footprint and making normal kibana useage snappier.
This is in aws on i3.2xlarge instances. The use case is logging...
Logging use cases tend to be indexing heavy which is exactly the opposite compared to when index sorting is recommended.
If you are having query performance problems please share more details about the cluster and the use case. Output from the cluster stats api is also useful.
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.