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 McCandless (JIRA)" <ji...@apache.org> on 2010/07/29 15:15:16 UTC
[jira] Resolved: (LUCENE-2559) reopen support for SegmentReader
[ https://issues.apache.org/jira/browse/LUCENE-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-2559.
----------------------------------------
Fix Version/s: 3.1
4.0
Resolution: Fixed
> reopen support for SegmentReader
> --------------------------------
>
> Key: LUCENE-2559
> URL: https://issues.apache.org/jira/browse/LUCENE-2559
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: John Wang
> Assignee: Michael McCandless
> Fix For: 3.1, 4.0
>
>
> Reopen for SegmentReader can be supported simply as the following:
> @Override
> public synchronized IndexReader reopen() throws CorruptIndexException,
> IOException {
> return reopenSegment(this.si,false,readOnly);
> }
> @Override
> public synchronized IndexReader reopen(boolean openReadOnly)
> throws CorruptIndexException, IOException {
> return reopenSegment(this.si,false,openReadOnly);
> }
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org