lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran" <amo...@infosciences.com>
Subject RE: finalize delete without optimize
Date Thu, 09 Dec 2004 13:33:00 GMT
Lucene standard API does not support this kind of operation.

Aviran
http://www.aviransplace.com


-----Original Message-----
From: John Wang [mailto:john.wang@gmail.com] 
Sent: Wednesday, December 08, 2004 17:32 PM
To: lucene-user@jakarta.apache.org
Subject: Re: finalize delete without optimize


Hi folks:

    I sent this out a few days ago without a response. 

    Please help.

Thanks in advance

-John


On Mon, 6 Dec 2004 21:15:00 -0800, John Wang <john.wang@gmail.com> wrote:
> Hi:
> 
>   Is there a way to finalize delete, e.g. actually remove them from 
> the segments and make sure the docIDs are contiguous again.
> 
>   The only explicit way to do this is by calling 
> IndexWriter.optmize(). But this call does a lot more (also merges all 
> the segments), hence is very expensive. Is there a way to simply just 
> finalize the deletes without having to merge all the segments?
> 
>    If not, I'd be glad to submit an implementation of this feature if 
> the Lucene devs agree this is useful.
> 
> Thanks
> 
> -John
>

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message