Search in sources :

Example 1 with CommonAnalysisPlugin

use of org.elasticsearch.analysis.common.CommonAnalysisPlugin in project crate by crate.

the class CreateAnalyzerAnalyzerTest method prepare.

@Before
public void prepare() throws IOException {
    e = SQLExecutor.builder(clusterService, 1, Randomness.get(), List.of(new CommonAnalysisPlugin())).enableDefaultTables().build();
    plannerContext = e.getPlannerContext(clusterService.state());
}
Also used : CommonAnalysisPlugin(org.elasticsearch.analysis.common.CommonAnalysisPlugin) Before(org.junit.Before)

Aggregations

CommonAnalysisPlugin (org.elasticsearch.analysis.common.CommonAnalysisPlugin)1 Before (org.junit.Before)1