return indexManagerHolder.getIndexManager(indexName);
}
private static BackendQueueProcessor createInstanceBackendQueueProcessor(SearchFactory searchFactory, IndexManager indexManager) {
MutableSearchFactory mutableSearchFactory = (MutableSearchFactory) searchFactory;
WorkerBuildContext context = new WorkerBuildContextImpl(mutableSearchFactory.getErrorHandler());
Properties properties = mutableSearchFactory.getConfigurationProperties();
GaeInstantBackendQueueProcessor queueProcessor = new GaeInstantBackendQueueProcessor();
queueProcessor.initialize(properties, context, (DirectoryBasedIndexManager) indexManager);