public SearchConfigurationForTest(InstanceInitializer init) {
this.initializer = init;
this.classes = new HashMap<String, Class<?>>();
this.properties = new Properties();
this.providedServices = new HashMap<Class<? extends Service>, Object>();
this.classLoaderService = new DefaultClassLoaderService();
addProperty( "hibernate.search.default.directory_provider", "ram" );
addProperty( "hibernate.search.lucene_version", TestConstants.getTargetLuceneVersion().toString() );
}