List of usage examples for org.apache.solr.servlet SolrRequestParsers SolrRequestParsers
public SolrRequestParsers(SolrConfig globalConfig)
From source file:io.yucca.solr.processor.HierarchyExtractorUpdateProcessorTestCase.java
License:Apache License
@BeforeClass public static void beforeClass() throws Exception { initCore("solrconfig-hierextractor.xml", "schema.xml", getFile("src/test/resources/test-files/hierextr/solr").getAbsolutePath()); SolrCore core = h.getCore();//from ww w.j a va2 s. c o m UpdateRequestProcessorChain chained = core.getUpdateProcessingChain("hier_extr"); assertNotNull(chained); _parser = new SolrRequestParsers(null); }
From source file:io.yucca.solr.processor.RegexExtractorUpdateProcessorTestCase.java
License:Apache License
@BeforeClass public static void beforeClass() throws Exception { initCore("solrconfig-regexextractor.xml", "schema.xml", getFile("src/test/resources/test-files/regexextr/solr").getAbsolutePath()); SolrCore core = h.getCore();//from w w w .ja v a 2 s . c om UpdateRequestProcessorChain chained = core.getUpdateProcessingChain("regex_extr"); assertNotNull(chained); _parser = new SolrRequestParsers(null); }