|
|
@@ -9,6 +9,7 @@
|
|
|
package org.elasticsearch.join.aggregations;
|
|
|
|
|
|
import org.apache.lucene.search.Query;
|
|
|
+import org.elasticsearch.Version;
|
|
|
import org.elasticsearch.common.ParsingException;
|
|
|
import org.elasticsearch.common.io.stream.StreamInput;
|
|
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
|
|
@@ -88,6 +89,7 @@ public class ChildrenAggregationBuilder extends ValuesSourceAggregationBuilder<C
|
|
|
return BucketCardinality.ONE;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
protected ValuesSourceAggregatorFactory innerBuild(
|
|
|
AggregationContext context,
|
|
|
ValuesSourceConfig config,
|
|
|
@@ -176,4 +178,9 @@ public class ChildrenAggregationBuilder extends ValuesSourceAggregationBuilder<C
|
|
|
protected ValuesSourceRegistry.RegistryKey<?> getRegistryKey() {
|
|
|
return ValuesSourceRegistry.UNREGISTERED_KEY;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public Version getMinimalSupportedVersion() {
|
|
|
+ return Version.V_EMPTY;
|
|
|
+ }
|
|
|
}
|