From 69f5652881a4537a0db6d9a6a987acc53db76a58 Mon Sep 17 00:00:00 2001 From: Dimitris Athanasiou Date: Tue, 4 Jun 2019 18:11:09 +0300 Subject: [PATCH] [ML] Fix compilation error from upstream --- .../test/java/org/elasticsearch/client/MachineLearningIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/MachineLearningIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/MachineLearningIT.java index dab8040be18ab..a5055b7e4f05d 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/MachineLearningIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/MachineLearningIT.java @@ -1408,7 +1408,7 @@ public void testStartDataFrameAnalyticsConfig() throws Exception { public void testStopDataFrameAnalyticsConfig() throws Exception { String sourceIndex = "stop-test-source-index"; String destIndex = "stop-test-dest-index"; - createIndex(sourceIndex); + createIndex(sourceIndex, mappingForClassification()); highLevelClient().index(new IndexRequest(sourceIndex).source(XContentType.JSON, "total", 10000), RequestOptions.DEFAULT); // Verify that the destination index does not exist. Otherwise, analytics' reindexing step would fail.