public static DirectoryProvider<?> createDirectoryProvider(String directoryProviderName, Properties indexProps, WorkerBuildContext context) {
String className = indexProps.getProperty( "directory_provider", "" );
String maybeShortCut = className.toLowerCase();
DirectoryProvider<?> provider;
ServiceManager serviceManager = context.getServiceManager();
//try and use the built-in shortcuts before loading the provider as a fully qualified class name
if ( defaultProviderClasses.containsKey( maybeShortCut ) ) {
String fullClassName = defaultProviderClasses.get( maybeShortCut );
provider = ClassLoaderHelper.instanceFromName(
DirectoryProvider.class,