You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "John Wang (JIRA)" <ji...@apache.org> on 2010/07/26 20:11:16 UTC

[jira] Commented: (LUCENE-2559) reopen support for SegmentReader

    [ https://issues.apache.org/jira/browse/LUCENE-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892398#action_12892398 ] 

John Wang commented on LUCENE-2559:
-----------------------------------

Hi guys:

     Any thoughts on this?

Thanks

-John

> 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
>
> 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