public String init(NamedList config, SolrCore core) {
   super.init(config, core);
   threshold =
       config.get(THRESHOLD_TOKEN_FREQUENCY) == null
           ? 0.0f
           : (Float) config.get(THRESHOLD_TOKEN_FREQUENCY);
   initSourceReader();
   return name;
 }
 @Override
 public void reload(SolrCore core, SolrIndexSearcher searcher) throws IOException {
   super.reload(core, searcher);
   // reload the source
   initSourceReader();
 }
예제 #3
0
 public String init(NamedList config, SolrCore core) {
   super.init(config, core);
   characterEncoding = (String) config.get(SOURCE_FILE_CHAR_ENCODING);
   return name;
 }