} catch (IOException e) {
throw new SearchException( "Could not initialize NativeFSLockFactory", e);
}
}
else if ( "single".equals( lockFactoryName ) ) {
return new SingleInstanceLockFactory();
}
else if ( "none".equals( lockFactoryName ) ) {
return new NoLockFactory();
}
else {