solr delete core index files

2010-03-22 Thread Johannes Goll
Hi, to delete a solr core index, I do (1) curl host/solr/admin/cores?action=UNLOADcore=FOO (2) rm -rf /abs_path_to_foo/FOO Is there a way to avoid step 2 and tell the solr server directly to delete the index files upon UNLOAD ? Thanks, Johannes

Re: solr delete core index files

2010-03-22 Thread Erick Erickson
Two things: 1 you can create a delete query matching all your documents like the query *:* 2 This kind of question is better suited to the solr user list, this list is devoted to internal SOLR development... Best Erick On Mon, Mar 22, 2010 at 1:36 PM, Johannes Goll