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/23 22:24:52 UTC

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

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


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

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless reassigned LUCENE-2559:
------------------------------------------

    Assignee: Michael McCandless

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


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

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893603#action_12893603 ] 

Michael McCandless commented on LUCENE-2559:
--------------------------------------------

This looks good!  I'll commit shortly.  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
>            Assignee: Michael McCandless
>
> 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


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

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "John Wang (JIRA)" <ji...@apache.org>.
    [ 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