public IndexEngineCJKAnalyzer(Map<Object, Object> configuration) { // Matching version requested for first testing user super(Version.valueOf((String)configuration.get("match_version"))); }
@SuppressWarnings("deprecation") private Version buildVersion(LuceneConfig config) { return StringUtil.isEmpty(config.getIndexVersion()) ? Version.LUCENE_CURRENT : Version.valueOf(config.getIndexVersion()); }