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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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