Class AnalysisTestsHelper

java.lang.Object
org.elasticsearch.index.analysis.AnalysisTestsHelper

public class AnalysisTestsHelper extends Object
  • Constructor Details

    • AnalysisTestsHelper

      public AnalysisTestsHelper()
  • Method Details

    • createTestAnalysisFromClassPath

      public static ESTestCase.TestAnalysis createTestAnalysisFromClassPath(Path baseDir, String resource, org.elasticsearch.plugins.AnalysisPlugin... plugins) throws IOException
      Throws:
      IOException
    • createTestAnalysisFromSettings

      public static ESTestCase.TestAnalysis createTestAnalysisFromSettings(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.plugins.AnalysisPlugin... plugins) throws IOException
      Throws:
      IOException
    • createTestAnalysisFromSettings

      public static ESTestCase.TestAnalysis createTestAnalysisFromSettings(org.elasticsearch.common.settings.Settings settings, Path configPath, org.elasticsearch.plugins.AnalysisPlugin... plugins) throws IOException
      Throws:
      IOException