FileNotFound exception in IndexWriter.addDocument
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rudolf_Khartyunov
Posted On:   Thursday, October 13, 2005 07:33 AM

I'm indexing about 5000 documents (email messages), after indexing 2000th document lucene gives me following: java.io.FileNotFoundException: C:workTTA-FulltextSearchTTAlive-siteWEB-INFfullt ext\_1qx.fdt (The system cannot find the file specified) code: for (Iterator it = allIssues.iterator(); it.hasNext();) { GenericDataObject issueGdo =(GenericDataObject)it.next(); Document issueDoc = indexer.getFormDocument(issueGdo); writer.addDocument(issueDoc); } writer.optimize(); writer.close(); file 1qx.fdt is really missing.    More>>

I'm indexing about 5000 documents (email messages), after indexing 2000th document lucene gives me following:


java.io.FileNotFoundException: C:workTTA-FulltextSearchTTAlive-siteWEB-INFfullt
ext\_1qx.fdt (The system cannot find the file specified)


code:


for (Iterator it = allIssues.iterator(); it.hasNext();) {

GenericDataObject issueGdo =(GenericDataObject)it.next();

Document issueDoc = indexer.getFormDocument(issueGdo);

writer.addDocument(issueDoc);

}

writer.optimize();

writer.close();



file 1qx.fdt is really missing.

   <<Less
About | Sitemap | Contact