From 3cc8f39532dac9768704d07c7611e6b1a162dbdc Mon Sep 17 00:00:00 2001 From: Fabricio Archanjo Fonseca Date: Tue, 15 Jan 2019 13:06:32 -0200 Subject: [PATCH] New mapping signature and mapping string source fixed. (#37401) * New mapping signature and mapping string source fixed. * Keep compatibility with CreateIndexRequest class. --- .../admin/indices/rollover/RolloverRequestBuilder.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverRequestBuilder.java b/server/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverRequestBuilder.java index be331547b2a..85867b11ad6 100644 --- a/server/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverRequestBuilder.java +++ b/server/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverRequestBuilder.java @@ -25,6 +25,7 @@ import org.elasticsearch.client.ElasticsearchClient; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.unit.ByteSizeValue; import org.elasticsearch.common.unit.TimeValue; +import org.elasticsearch.common.xcontent.XContentType; public class RolloverRequestBuilder extends MasterNodeOperationRequestBuilder