lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1056) IndexReader.flush()
Date Wed, 14 Nov 2007 19:24:43 GMT

     [ 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


Mime
View raw message