Package org.elasticsearch.index
Class MapperTestUtils
java.lang.Object
org.elasticsearch.index.MapperTestUtils
public class MapperTestUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MapperTestUtils()
-
Method Summary
Modifier and Type Method Description static void
assertConflicts(java.lang.String mapping1, java.lang.String mapping2, org.elasticsearch.index.mapper.DocumentMapperParser parser, java.lang.String... conflicts)
static org.elasticsearch.index.mapper.MapperService
newMapperService(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, java.nio.file.Path tempDir, org.elasticsearch.common.settings.Settings indexSettings, java.lang.String indexName)
static org.elasticsearch.index.mapper.MapperService
newMapperService(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, java.nio.file.Path tempDir, org.elasticsearch.common.settings.Settings settings, org.elasticsearch.indices.IndicesModule indicesModule, java.lang.String indexName)
-
Constructor Details
-
MapperTestUtils
public MapperTestUtils()
-
-
Method Details
-
newMapperService
public static org.elasticsearch.index.mapper.MapperService newMapperService(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, java.nio.file.Path tempDir, org.elasticsearch.common.settings.Settings indexSettings, java.lang.String indexName) throws java.io.IOException- Throws:
java.io.IOException
-
newMapperService
public static org.elasticsearch.index.mapper.MapperService newMapperService(org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, java.nio.file.Path tempDir, org.elasticsearch.common.settings.Settings settings, org.elasticsearch.indices.IndicesModule indicesModule, java.lang.String indexName) throws java.io.IOException- Throws:
java.io.IOException
-
assertConflicts
public static void assertConflicts(java.lang.String mapping1, java.lang.String mapping2, org.elasticsearch.index.mapper.DocumentMapperParser parser, java.lang.String... conflicts) throws java.io.IOException- Throws:
java.io.IOException
-