We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeff618 commit 67e36f1Copy full SHA for 67e36f1
server/src/main/java/org/elasticsearch/search/aggregations/InternalAggregations.java
@@ -165,7 +165,7 @@ public static InternalAggregations from(List<InternalAggregation> aggregations)
165
}
166
167
public static InternalAggregations readFrom(StreamInput in) throws IOException {
168
- return from(in.readCollectionAsList(stream -> stream.readNamedWriteable(InternalAggregation.class)));
+ return from(in.readNamedWriteableCollectionAsList(InternalAggregation.class));
169
170
171
@Override
0 commit comments