Reputation: 35805
I tried to delete all content in my Neo4j 3.3 database through the Neo4j browser. I used:
MATCH (n)
DETACH DELETE n
Unfortunately, the browser is keeping a list of old (obsolete) property keys, so that (after refilling the database) autocomplete still lists these property keys that are gone. Any way to get rid of them?
Upvotes: 1
Views: 743
Reputation: 16365
As described here, Neo4j Browser just display the data provided by Neo4j database through CALL db.propertyKeys()
.
There is an open issue in the Neo4j's Github repository about removing unused property keys from db.propertyKeys()
results.
Since you are deleting all your nodes and relationships, you can alternatively delete all content of <neo4j-home>/data/databases/graph.db/
folder and restart Neo4j service. But you will need to recreate all indexes and constraints.
Upvotes: 2