If you use Java and Spring, you can use my Spring factory for that :
See forceReinit
David
Twitter : @dadoonet / @elasticsearchfr
Le 31 mars 2012 à 21:44, Eric Jain eric.jain@gmail.com a écrit :
Does elasticsearch have a setting to clear all existing indexes on
startup?This isn't for an April Fool's joke, but would be convenient for unit
tests (since there is no disk-less option), and also during
development.