You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Busch (JIRA)" <ji...@apache.org> on 2007/11/14 20:24:43 UTC

[jira] Updated: (LUCENE-1056) IndexReader.flush()

     [ https://issues.apache.org/jira/browse/LUCENE-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Busch updated LUCENE-1056:
----------------------------------

    Component/s: Index

> IndexReader.flush()
> -------------------
>
>                 Key: LUCENE-1056
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1056
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org