IndexReader.flush() ------------------- Key: LUCENE-1056 URL: https://issues.apache.org/jira/browse/LUCENE-1056 Project: Lucene - Java Issue Type: Improvement Reporter: Michael Busch Priority: Minor
With the new IndexReader.reopen() feature (LUCENE-743) it makes sense to also add a flush() method to IndexReader. Yonik pointed out this usecase: {code:java} reader.deleteDocument() reader.flush() writer = new IndexWriter() writer.addDocument() writer.close() reader.reopen() reader.deleteDocument() {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]