According to this answer, one could use rm -rf data/databases/graph.db
to reset database. However, after I ran this command in the folder C:\Users\user_name\Documents\Neo4j\default.graphdb
, while the folder databases is gone, when I run the java program, the nodes are still there; when I run neo4j via browser after restarting the server, the nodes are also there.
I loaded the data from csv files into neo4j with java driver. This is the maven dependency for the driver:
<dependency>
<groupId>org.neo4j.driver</groupId>
<artifactId>neo4j-java-driver</artifactId>
<version>1.1.2</version>
</dependency>
How should I reset the database?