lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Goller <gol...@detego-software.de>
Subject Re: can delete the index document Permanently?
Date Fri, 10 Oct 2003 08:09:37 GMT
You are right, calling delete only marks the document(s) as deleted.
However subsequent merging operations either called implicitly
if you add documents or called explicitetly by calling optimize
actually delte the document(s) and reduce the size of the index.

Christoph

Alex Aw Seat Kiong schrieb:
>  Hi!
> 
> Regarding the Lucene, delete(int) and delete(Term) function,
> After delete the index document with the function, It will not found when
> searching from it.
> But, The size of the Index Storage was not reduce? It seek like just mark
> the index document as deleted status only.
> So, how to delete the index document Permanently?
> 
> 
> **The delete(int) method is used when the sequential number of the document
> to be deleted within the index is known.
> **The delete(Term) method can be used when a term that matches exactly the
> document(s) you want to delete can be specified.
> 
> Please kindly help. Thanks.
> 
> 
> Regards,
> AlexAw
> 
> 
> Senior Software Engineer
> BIGontheNet Pte Ltd
> Tel (office)   : (65) 67799687
> Tel (mobile)  : (65) 96527369
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> 
> 

-- 
*****************************************************************
* Dr. Christoph Goller       Tel.:   +49 89 203 45734           *
* Detego Software GmbH       Mobile: +49 179 1128469            *
* Keuslinstr. 13             Fax.:   +49 721 151516176          *
* 80798 M√ľnchen, Germany     Email:  goller@detego-software.de  *
*****************************************************************


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


Mime
View raw message