I ran into a problem when I deleted just the "index" directory; I deleted the 
entire data directory and it was recreated on the next load. BTW, if you're 
using the DIH, its default behavior is to remove all records on a full import, 
so you can save yourself having to remove any actual files.

-----Original Message-----
From: Mark juszczec [mailto:mark.juszc...@gmail.com]
Sent: Thursday, August 04, 2011 4:01 PM
To: solr-user@lucene.apache.org
Subject: deleting index directory/files

Hello all

I'm using multiple cores.  I there's a directory named by the core and it
contains a subdir named data that contains a subdir named index that
contains a bunch of files that contain the data for my index.

Let's say I want to completely rebuild the index from scratch.

Can I delete the dir named index?  I know the next thing I'd have to do is a
full data import, and that's ok.  I want to blow away any traces of the
core's previous existence.

Mark

DISCLAIMER: This electronic message, including any attachments, files or 
documents, is intended only for the addressee and may contain CONFIDENTIAL, 
PROPRIETARY or LEGALLY PRIVILEGED information.  If you are not the intended 
recipient, you are hereby notified that any use, disclosure, copying or 
distribution of this message or any of the information included in or with it 
is  unauthorized and strictly prohibited.  If you have received this message in 
error, please notify the sender immediately by reply e-mail and permanently 
delete and destroy this message and its attachments, along with any copies 
thereof. This message does not create any contractual obligation on behalf of 
the sender or Law Bulletin Publishing Company.
Thank you.

Reply via email to