Neo4j - How to delete unused property keys from browser?

jotadepicas picture jotadepicas · Nov 29, 2015 · Viewed 20.6k times · Source

I've deleted all my nodes and relationships (Delete all nodes and relationships in neo4j 1.8), but I see that in Neo4j Browser the "property keys" that existed before the deletion remain.

See the picture below:

enter image description here

How can I make all the "Property Keys" go away too, so I can end up with a fresh new database? I understand this orphan property keys do not pose a problem themselves, but they clutter the browser experience and will start confusing with newer properties.

Thanks!

Answer

Brian Underwood picture Brian Underwood · Nov 29, 2015

You should be able to clear everything out by:

  • stopping your Neo4j database
  • deleting everything matching data/graph.db/* (look inside the graph.db folder)
  • starting up again.