咨询下各位大佬 ES 聚合排序的问题
資深大佬 : unbright 8
es 是不是不能能 AggregationBuilders.terms 的字段进行排序,用了后报这个错。 Buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end
大佬有話說 (5)