lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: delete/reset the index
Date Thu, 04 Sep 2008 09:15:21 GMT

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 over time...

Mike

simon litwan wrote:

> 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.
>
> simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message