Class AnalysisTestsHelper
java.lang.Object
org.opensearch.index.analysis.AnalysisTestsHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTestAnalysisFromClassPath(Path baseDir, String resource, org.opensearch.plugins.AnalysisPlugin... plugins) createTestAnalysisFromSettings(org.opensearch.common.settings.Settings settings, Path configPath, org.opensearch.plugins.AnalysisPlugin... plugins) createTestAnalysisFromSettings(org.opensearch.common.settings.Settings settings, org.opensearch.plugins.AnalysisPlugin... plugins)
-
Constructor Details
-
AnalysisTestsHelper
public AnalysisTestsHelper()
-
-
Method Details
-
createTestAnalysisFromClassPath
public static OpenSearchTestCase.TestAnalysis createTestAnalysisFromClassPath(Path baseDir, String resource, org.opensearch.plugins.AnalysisPlugin... plugins) throws IOException - Throws:
IOException
-
createTestAnalysisFromSettings
public static OpenSearchTestCase.TestAnalysis createTestAnalysisFromSettings(org.opensearch.common.settings.Settings settings, org.opensearch.plugins.AnalysisPlugin... plugins) throws IOException - Throws:
IOException
-
createTestAnalysisFromSettings
public static OpenSearchTestCase.TestAnalysis createTestAnalysisFromSettings(org.opensearch.common.settings.Settings settings, Path configPath, org.opensearch.plugins.AnalysisPlugin... plugins) throws IOException - Throws:
IOException
-