diff --git a/pom.xml b/pom.xml index e9a6a95a628..640175ba21b 100644 --- a/pom.xml +++ b/pom.xml @@ -31,8 +31,8 @@ - 1.0.0.RC1 - 4.6.0 + 1.0.1 + 4.6.1 1 true onerror diff --git a/src/test/java/org/elasticsearch/index/mapper/xcontent/DateAttachmentMapperTests.java b/src/test/java/org/elasticsearch/index/mapper/xcontent/DateAttachmentMapperTests.java index d38e2e83864..03f6482bca7 100644 --- a/src/test/java/org/elasticsearch/index/mapper/xcontent/DateAttachmentMapperTests.java +++ b/src/test/java/org/elasticsearch/index/mapper/xcontent/DateAttachmentMapperTests.java @@ -19,6 +19,7 @@ package org.elasticsearch.index.mapper.xcontent; +import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.index.Index; import org.elasticsearch.index.analysis.AnalysisService; import org.elasticsearch.index.mapper.DocumentMapper; @@ -41,7 +42,7 @@ public class DateAttachmentMapperTests extends ElasticsearchTestCase { @Before public void setupMapperParser() { - mapperParser = new DocumentMapperParser(new Index("test"), new AnalysisService(new Index("test")), null, null, null); + mapperParser = new DocumentMapperParser(new Index("test"), ImmutableSettings.EMPTY, new AnalysisService(new Index("test")), null, null, null); mapperParser.putTypeParser(AttachmentMapper.CONTENT_TYPE, new AttachmentMapper.TypeParser()); } diff --git a/src/test/java/org/elasticsearch/index/mapper/xcontent/EncryptedDocMapperTest.java b/src/test/java/org/elasticsearch/index/mapper/xcontent/EncryptedDocMapperTest.java index 54f51258ead..ca6043c60f5 100644 --- a/src/test/java/org/elasticsearch/index/mapper/xcontent/EncryptedDocMapperTest.java +++ b/src/test/java/org/elasticsearch/index/mapper/xcontent/EncryptedDocMapperTest.java @@ -47,7 +47,7 @@ public class EncryptedDocMapperTest extends ElasticsearchTestCase { @Test public void testMultipleDocsEncryptedLast() throws IOException { - DocumentMapperParser mapperParser = new DocumentMapperParser(new Index("test"), new AnalysisService(new Index("test")), null, null, null); + DocumentMapperParser mapperParser = new DocumentMapperParser(new Index("test"), ImmutableSettings.EMPTY, new AnalysisService(new Index("test")), null, null, null); mapperParser.putTypeParser(AttachmentMapper.CONTENT_TYPE, new AttachmentMapper.TypeParser()); String mapping = copyToStringFromClasspath("/org/elasticsearch/index/mapper/multipledocs/test-mapping.json"); @@ -80,7 +80,7 @@ public class EncryptedDocMapperTest extends ElasticsearchTestCase { @Test public void testMultipleDocsEncryptedFirst() throws IOException { - DocumentMapperParser mapperParser = new DocumentMapperParser(new Index("test"), new AnalysisService(new Index("test")), null, null, null); + DocumentMapperParser mapperParser = new DocumentMapperParser(new Index("test"), ImmutableSettings.EMPTY, new AnalysisService(new Index("test")), null, null, null); mapperParser.putTypeParser(AttachmentMapper.CONTENT_TYPE, new AttachmentMapper.TypeParser()); String mapping = copyToStringFromClasspath("/org/elasticsearch/index/mapper/multipledocs/test-mapping.json"); diff --git a/src/test/java/org/elasticsearch/index/mapper/xcontent/MultifieldAttachmentMapperTests.java b/src/test/java/org/elasticsearch/index/mapper/xcontent/MultifieldAttachmentMapperTests.java index 26bf62020b1..d363465bb36 100644 --- a/src/test/java/org/elasticsearch/index/mapper/xcontent/MultifieldAttachmentMapperTests.java +++ b/src/test/java/org/elasticsearch/index/mapper/xcontent/MultifieldAttachmentMapperTests.java @@ -19,6 +19,7 @@ package org.elasticsearch.index.mapper.xcontent; +import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.index.Index; import org.elasticsearch.index.analysis.AnalysisService; import org.elasticsearch.index.mapper.DocumentMapper; @@ -42,7 +43,7 @@ public class MultifieldAttachmentMapperTests extends ElasticsearchTestCase { @Before public void setupMapperParser() { - mapperParser = new DocumentMapperParser(new Index("test"), new AnalysisService(new Index("test")), null, null, null); + mapperParser = new DocumentMapperParser(new Index("test"), ImmutableSettings.EMPTY, new AnalysisService(new Index("test")), null, null, null); mapperParser.putTypeParser(AttachmentMapper.CONTENT_TYPE, new AttachmentMapper.TypeParser()); } diff --git a/src/test/java/org/elasticsearch/index/mapper/xcontent/SimpleAttachmentMapperTests.java b/src/test/java/org/elasticsearch/index/mapper/xcontent/SimpleAttachmentMapperTests.java index 335d3b2b6c5..0203fb4e402 100644 --- a/src/test/java/org/elasticsearch/index/mapper/xcontent/SimpleAttachmentMapperTests.java +++ b/src/test/java/org/elasticsearch/index/mapper/xcontent/SimpleAttachmentMapperTests.java @@ -20,6 +20,7 @@ package org.elasticsearch.index.mapper.xcontent; import org.elasticsearch.common.bytes.BytesReference; +import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.index.Index; import org.elasticsearch.index.analysis.AnalysisService; import org.elasticsearch.index.mapper.DocumentMapper; @@ -45,7 +46,7 @@ public class SimpleAttachmentMapperTests extends ElasticsearchTestCase { @Before public void setupMapperParser() { - mapperParser = new DocumentMapperParser(new Index("test"), new AnalysisService(new Index("test")), null, null, null); + mapperParser = new DocumentMapperParser(new Index("test"), ImmutableSettings.EMPTY, new AnalysisService(new Index("test")), null, null, null); mapperParser.putTypeParser(AttachmentMapper.CONTENT_TYPE, new AttachmentMapper.TypeParser()); }