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: server/src/main/java/org/opensearch/search/aggregations/NonGlobalAggCollectorManagerWithSingleCollector.java
+2
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,11 @@ public Collector newCollector() throws IOException {
Copy file name to clipboardexpand all lines: server/src/main/java/org/opensearch/search/aggregations/bucket/terms/GlobalOrdinalsStringTermsAggregator.java
+16-3
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,8 @@ public class GlobalOrdinalsStringTermsAggregator extends AbstractStringTermsAggr
99
99
protectedintsegmentsWithSingleValuedOrds = 0;
100
100
protectedintsegmentsWithMultiValuedOrds = 0;
101
101
102
+
protectedfinalIndexReaderreader;
103
+
102
104
/**
103
105
* Lookup global ordinals
104
106
*
@@ -128,7 +130,9 @@ public GlobalOrdinalsStringTermsAggregator(
128
130
super(name, factories, context, parent, order, format, bucketCountThresholds, collectionMode, showTermDocCountError, metadata);
129
131
this.resultStrategy = resultStrategy.apply(this); // ResultStrategy needs a reference to the Aggregator to do its job.
0 commit comments