In fact you may want to delete more specifically data/es5, that’s where the ElasticSearch data lives (and in case you’re on H2 embedded db, you wouldn’t want to delete that). Note that subsequent startup may take slightly longer than usual, due to ES data rebuild (which is not a usual operation, always better to investigate it first as you did here).