Hello, Could someone please confirm that calling indexWriter.optimize() is the only way to clean out the deleted documents from the disk?
I understand that indexWriter.deleteDocuments() does not clean the disk space, and I tested that calling after indexWriter.flush() and indexWriter.close() after indexWriter.deleteDocuments() does not clean the disk space either. So do they only mark the documents have been deleted, then which method really do the "delete" the documents (from the disk)? Thanks, Dan -- View this message in context: http://www.nabble.com/How-did-Lucene-clean-out-the-deleted-documents-from-the-disk--tp18534562p18534562.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]