lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: IndexReader delete doc! delete terms?
Date Fri, 09 Sep 2005 13:33:38 GMT
Nope. The IndexReader simply sets a bit in a separate bitvector that marks 
the doc as deleted. All info associated with the document are removed after 
an IndexWriter merges the segment containing that doc with another (optimize 
will merge all segments and hence remove remnants of all deleted docs).

-Yonik
Now hiring -- http://tinyurl.com/7m67g

On 9/9/05, dozean@gmx.de <dozean@gmx.de> wrote:
> 
> Hi,
> 
> i want to ask, if i delete documents from index with delete(int i)
> does the IndexReader delete the terms of this document from index??
> 
> thanks in forward
> Bye
> 
> --
> 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
> +++ GMX - die erste Adresse für Mail, Message, More +++
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message