OSMImporter importer = new OSMImporter ("WashingtonDC");Map<String, String> config = new HashMap<String, String>();config.put("neostore.nodestore.db.mapped_memory", "256M" );config.put("dump_configuration", "true");config.put("use_memory_mapped_buffers", "true");String dir = "/dev/neo4j-spatial/db";BatchInserter batchInserter = BatchInserters.inserter(dir,config);
importer.importFile(batchInserter, "/downloads/dc-baltimore.osm",false);
batchInserter.shutdown();
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase(dir);
importer.reIndex(db,10000);
db.shutdown();
Sumit,
Are you using maven? In that case what does
mvn dependency:tree
Look like?
/peter
(snt)-[:frm]->(phn)
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.