You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
124
124
- Performance improvement for MultiTerm Queries on Keyword fields ([#7057](https://github.com/opensearch-project/OpenSearch/issues/7057))
125
125
- Refactor common parts from the Rounding class into a separate 'round' package ([#11023](https://github.com/opensearch-project/OpenSearch/issues/11023))
126
126
- Performance improvement for date histogram aggregations without sub-aggregations ([#11083](https://github.com/opensearch-project/OpenSearch/pull/11083))
127
+
- Apply the fast filter optimization to composite aggregation of date histogram source ([#11505](https://github.com/opensearch-project/OpenSearch/pull/11083))
127
128
- Disable concurrent aggs for Diversified Sampler and Sampler aggs ([#11087](https://github.com/opensearch-project/OpenSearch/issues/11087))
128
129
- Made leader/follower check timeout setting dynamic ([#10528](https://github.com/opensearch-project/OpenSearch/pull/10528))
129
130
- Improved performance of numeric exact-match queries ([#11209](https://github.com/opensearch-project/OpenSearch/pull/11209))
Copy file name to clipboardexpand all lines: server/src/main/java/org/opensearch/search/aggregations/bucket/composite/CompositeValuesCollectorQueue.java
+17-13
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,8 @@
47
47
48
48
/**
49
49
* A specialized {@link PriorityQueue} implementation for composite buckets.
50
+
* Can think of this as a max heap that holds the top small buckets slots in order.
51
+
* Each slot holds the values of the composite bucket key it represents.
50
52
*
51
53
* @opensearch.internal
52
54
*/
@@ -77,7 +79,7 @@ public int hashCode() {
77
79
78
80
privatefinalBigArraysbigArrays;
79
81
privatefinalintmaxSize;
80
-
privatefinalMap<Slot, Integer> map;
82
+
privatefinalMap<Slot, Integer> map;// to quickly find the slot for a value
Copy file name to clipboardexpand all lines: server/src/main/java/org/opensearch/search/aggregations/bucket/composite/DateHistogramValuesSourceBuilder.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -303,7 +303,7 @@ public static void register(ValuesSourceRegistry.Builder builder) {
303
303
// TODO once composite is plugged in to the values source registry or at least understands Date values source types use it
0 commit comments