lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <>
Subject [jira] Commented: (LUCENE-2887) Remove/deprecate IndexReader.undeleteAll
Date Mon, 24 Jan 2011 20:34:43 GMT


Andrzej Bialecki  commented on LUCENE-2887:

The MultiPassIndexSplitter won't work without this API. It can be modified to use a subclass
of IndexReader & term / postings enumerators to restore the current behavior, or it can
be rewritten entirely as a (fabled) SinglePassIndexSplitter. ;)

> Remove/deprecate IndexReader.undeleteAll
> ----------------------------------------
>                 Key: LUCENE-2887
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.1
> This API is rather dangerous in that it's "best effort" since it can only un-delete docs
that have not yet been merged away, or, dropped (as of LUCENE-2010).
> Given that it exposes impl details of how Lucene prunes deleted docs, I think we should
remove this API.
> Are there legitimate use cases....?

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:
For additional commands, e-mail:

View raw message