graphDb.shutdown();
}
private void removeProvidersFromIndexDbFile( File storeDir )
{
IndexStore indexStore = new IndexStore( storeDir.getPath() );
for ( Class<? extends PropertyContainer> cls : new Class[] {Node.class, Relationship.class} )
{
for ( String name : indexStore.getNames( cls ) )
{
Map<String, String> config = indexStore.get( cls, name );
config = new HashMap<String, String>( config );
config.remove( "provider" );
indexStore.set( Node.class, name, config );
}
}
}