use of org.neo4j.graphdb.factory.GraphDatabaseBuilder in project neo4j by neo4j.
the class TestLuceneBatchInsert method switchToGraphDatabaseService.
private void switchToGraphDatabaseService(ConfigurationParameter... config) {
shutdownInserter();
GraphDatabaseBuilder builder = new TestGraphDatabaseFactory().newEmbeddedDatabaseBuilder(storeDir);
for (ConfigurationParameter configurationParameter : config) {
builder = builder.setConfig(configurationParameter.key, configurationParameter.value);
}
db = builder.newGraphDatabase();
}
Aggregations