You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dalton, Jeffery" <jd...@globalspec.com> on 2006/02/01 14:15:49 UTC

Cannot delete deleteable.new

I have a periodic process that runs as a timer task that periodically
optimizes my search index.  However, I am having difficulties with this
process failing:
java.io.IOException: Cannot overwrite: C:\04950_04959\deleteable.new
	at
org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:317)
	at
org.apache.lucene.index.IndexWriter.writeDeleteableFiles(IndexWriter.jav
a:789)
	at
org.apache.lucene.index.IndexWriter.deleteSegments(IndexWriter.java:741)
	at
org.apache.lucene.index.IndexWriter.access$2(IndexWriter.java:728)
	at
org.apache.lucene.index.IndexWriter$4.doBody(IndexWriter.java:699)
	at org.apache.lucene.store.Lock$With.run(Lock.java:109)
	at
org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:702)
	at
org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:658)
	at
org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:517)
	at
org.apache.lucene.index.IndexModifier.optimize(IndexModifier.java:328)

Why would there be difficulty deleting the deleatable.new file?  I have
several indices that haven't been optimized in three days, despite
attempts to optimize it ever few hours.  It just seems a bit strange.
Why is this failing and what should I do to recover?   

I am running on Win2003, web edition, under Java 1.4.2_08.

- Jeff

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