lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Deprecating IndexModifier
Date Wed, 08 Aug 2007 16:35:49 GMT
On 8/8/07, Ning Li <ning.li.li@gmail.com> wrote:
> I'm thinking about the impact of adding "deleteDocument(int doc)" on

To make delete by docid useful, one needs a way to *get* those docids.
A callback after flush that provided acurrent list of readers for the
segments would serve.

I think IndexWriter.deleteDocument(int doc) is something that wouldn't
be used by expert users, and would be accidentally used by novices.

-Yonik

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