lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1201) Add getIndexCommit method to IndexReader
Date Tue, 04 Mar 2008 12:28:44 GMT

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

Michael McCandless updated LUCENE-1201:
---------------------------------------

    Attachment: LUCENE-1201.patch

Attached patch.  I plan to commit in a day or two.

I also deprecated the original interface IndexCommitPoint, and
switched to abstract base class IndexCommit instead, and added
equals() method to IndexCommit.  I also added "warning this API is
still experimental" to the javadocs too.

> Add getIndexCommit method to IndexReader
> ----------------------------------------
>
>                 Key: LUCENE-1201
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1201
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Index
>    Affects Versions: 2.1, 2.2, 2.3
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.4
>
>         Attachments: LUCENE-1201.patch
>
>
> Spinoff from this thread:
>   http://markmail.org/message/bojgqfgyxkkv4fyb
> I think it makes sense ask an IndexReader for the commit point it has
> open.  This enables the use case described in the above thread, which
> is to create a deletion policy that is able to query all open readers
> for what commit points they are using, and prevent deletion of them.

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


Mime
View raw message