diff --git a/src/aggregation/bucket/term_agg/mod.rs b/src/aggregation/bucket/term_agg/mod.rs index c5ceac6c9..9d3b2f724 100644 --- a/src/aggregation/bucket/term_agg/mod.rs +++ b/src/aggregation/bucket/term_agg/mod.rs @@ -879,7 +879,7 @@ struct VecTermBucketsWithLanes { impl TermAggregationMap for VecTermBucketsWithLanes { type Slot = B; - const SORTED_BY_ORD: bool = true; + const SORTED_BY_KEY: bool = true; fn get_memory_consumption(&self) -> usize { self.buckets.capacity() * std::mem::size_of::>()