Re: delete/reset the index

2008-09-05 Thread simon litwan
叶双明 schrieb: Agree with Michael McCandless!! By that way,it is handling gracefully. thanks for your hints. both of you :) will try how you suggested. simon 2008/9/4 Michael McCandless <[EMAIL PROTECTED]> If you're on Windows, the safest way to do this in general, if there is any possi

Re: delete/reset the index

2008-09-04 Thread 叶双明
Agree with Michael McCandless!! By that way,it is handling gracefully. 2008/9/4 Michael McCandless <[EMAIL PROTECTED]> > > If you're on Windows, the safest way to do this in general, if there is any > possibility that readers are still using the index, is to create a new > IndexWriter with creat

Re: delete/reset the index

2008-09-04 Thread Michael McCandless
If you're on Windows, the safest way to do this in general, if there is any possibility that readers are still using the index, is to create a new IndexWriter with create=true. Windows does not let you remove open files. IndexWriter will gracefully handle failed deletes by retrying them

Re: delete/reset the index

2008-09-04 Thread 叶双明
Delete the index Directory in File System, I think this is the simpliest!!! 2008/9/4 simon litwan <[EMAIL PROTECTED]> > hi all > > i would like to delete the the index to allow to start reindexing from > scratch. > is there a way to delete all entries in a index? > > any hint is very appreciated.