You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2008/08/28 13:55:44 UTC

[jira] Resolved: (LUCENE-1367) Add a isDeleted method to IndexCommit

     [ https://issues.apache.org/jira/browse/LUCENE-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-1367.
----------------------------------------

    Resolution: Fixed

> Add a isDeleted method to IndexCommit
> -------------------------------------
>
>                 Key: LUCENE-1367
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1367
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.4
>
>
> I wish to add a IndexCommit.isDeleted() method.
> The use-case is that Solr will now support configurable IndexDeletionPolicy (SOLR-617). For the new replication (SOLR-561) to work, we need access to a list of IndexCommit instances which haven't been deleted yet. I can wrap the user specified IndexDeletionPolicy but since the IndexCommit does not have a isDeleted method, I may store a reference to an IndexCommit on which delete() has been called by the deletion policy. I can wrap the IndexCommit objects too just for having a isDeleted() method so a workaround exists. Not a big pain but if it can be managed on the lucene side easily, I'll appreciate it. It would save me from writing some delegate 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org