[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to