lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TejKiran <>
Subject Cannot overwrite "_0.fdt" file
Date Tue, 22 Dec 2009 12:00:02 GMT

I am indexing some data and then searching on indexed data to find then
doing some action on that.
while i close the application, i am deleting these indexed data from
TempIndex folder like here "20091019237559". and for deleting i am
maintaining list of which file/folder created in current running application
because i can run multiple instance of my program.
i am getting following exception , when it could be occurred and how it can
be solved.


Cannot overwrite: ..\Temp\TempIndex\20091019237559\_0.fdtStacktrace Cannot overwrite:
..\Temp\TempIndex\20091019237559\_0.fdt	at Source)	at
org.apache.lucene.index.FieldsWriter.<init>(Unknown Source)	at
org.apache.lucene.index.StoredFieldsWriter.initFieldsWriter(Unknown Source)
at org.apache.lucene.index.StoredFieldsWriter.finishDocument(Unknown Source)
at org.apache.lucene.index.StoredFieldsWriter$PerDoc.finish(Unknown Source)
at org.apache.lucene.index.DocumentsWriter$WaitQueue.writeDocument(Unknown
Source)	at org.apache.lucene.index.DocumentsWriter$WaitQueue.add(Unknown
Source)	at org.apache.lucene.index.DocumentsWriter.finishDocument(Unknown
Source)	at org.apache.lucene.index.DocumentsWriter.updateDocument(Unknown
Source)	at org.apache.lucene.index.DocumentsWriter.addDocument(Unknown
Source)	at org.apache.lucene.index.IndexWriter.addDocument(Unknown Source)
at org.apache.lucene.index.IndexWriter.addDocument(Unknown Source)	

Thanks in advance

Tej Kiran Sharma
View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message