891011121314151617
// create a new instance of handler for each request if (coreName == null) return new DefaultSearchService(); if (coreName.equals(SolrUtil.CORE_NAME_CHINESE)) { return new ChineseSearchService(); } else { return new DefaultSearchService(); } }