String backend = cfg.getProperty( Environment.WORKER_BACKEND );
if ( backend != null ) {
log.ignoringBackendOptionForIndex( indexName, "near-real-time" );
}
LuceneBackendQueueProcessor backendQueueProcessor = new LuceneBackendQueueProcessor();
nrtWorkspace = new NRTWorkspaceImpl( this, buildContext.getErrorHandler(), cfg );
backendQueueProcessor.setCustomWorkspace( nrtWorkspace );
backendQueueProcessor.initialize( cfg, buildContext, this );
return backendQueueProcessor;
}