lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Deprecating IndexModifier
Date Tue, 07 Aug 2007 22:30:44 GMT
+1


On Aug 7, 2007, at 3:37 PM, Ning Li wrote:

> With the plan towards 3.0 release laid out, I think it's a good time
> to deprecate IndexModifier and eventually remove IndexModifier.
>
> The only method in IndexModifier which is not implemented in
> IndexWriter is "deleteDocument(int doc)". This is because of the
> concern that document ids are changing as documents are deleted and
> segments are merged. Should we add "deleteDocument(int doc)" to
> IndexWriter but comment that it is an expert method, and then
> deprecate IndexModifier and eventually remove IndexModifier?
>
> Cheers,
> Ning
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>




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