lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kobele <martin.kob...@netsweeper.com>
Subject How to view deleted documents and undelete(int docID)
Date Mon, 11 Jun 2007 13:23:14 GMT
Hi,

I am wondering whether this is possible at all....
Regarding SegmentReader.document(n,..), an exception is thrown if 
(isDeleted(n) == true). So I cannot get a hold of document n if it is 
deleted. 
Despite that, is there a way to view the deleted document and undelete a 
single document? (Luke has a "reconstruct & edit" button which does not seem 
to work on deleted documents, if it ever was designed to undelete a 
document).

Thank you!

Regards,
Martin

Mime
View raw message