|
@@ -53,6 +53,7 @@ import org.elasticsearch.search.aggregations.support.ValuesSourceConfig;
|
|
|
import org.elasticsearch.search.internal.SearchContext;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
+import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -327,7 +328,7 @@ public class SignificantTermsAggregatorFactory extends ValuesSourceAggregatorFac
|
|
|
return mode;
|
|
|
}
|
|
|
}
|
|
|
- throw new IllegalArgumentException("Unknown `execution_hint`: [" + value + "], expected any of " + values());
|
|
|
+ throw new IllegalArgumentException("Unknown `execution_hint`: [" + value + "], expected any of " + Arrays.toString(values()));
|
|
|
}
|
|
|
|
|
|
private final ParseField parseField;
|