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

Reply via email to