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

Jason Rutherglen commented on LUCENE-1288:
------------------------------------------

getGeneration in addition.  

Will IndexCommit.getVersion return the same value as the IndexReader that 
created it?  I'm using this in conjunction with IndexReader to close an object 
associated with the IndexReader upon deletion of the snapshot.  

> Add getVersion method to IndexCommit
> ------------------------------------
>
>                 Key: LUCENE-1288
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1288
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 2.3.1
>            Reporter: Jason Rutherglen
>            Assignee: Michael McCandless
>            Priority: Minor
>
> Returns the equivalent of IndexReader.getVersion for IndexCommit
> {code}
> public abstract long getVersion();
> {code}

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