Hi,

Is there a particular reason for having initUpdateHandler *after* the
following block of code in the SolrCore constructor?

if (updateHandler == null) {
  directoryFactory = initDirectoryFactory();
  recoveryStrategyBuilder = initRecoveryStrategyBuilder();
  solrCoreState = new DefaultSolrCoreState(directoryFactory,
recoveryStrategyBuilder);
} else {
  solrCoreState = updateHandler.getSolrCoreState();
  directoryFactory = solrCoreState.getDirectoryFactory();
  recoveryStrategyBuilder = solrCoreState.getRecoveryStrategyBuilder();
  isReloaded = true;
}


It seems to me that it would require a reload() to get the configured
updateHandler to work. Am I missing something? I'm trying to write my own
UpdateHandler that does not want to deal with the default directory factory
and the like. Not sure if possible.

- Neophytos

Reply via email to