Re: IndexReader delete doc! delete terms?

2005-09-12 Thread Yonik Seeley
://tinyurl.com/7m67g On 9/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok... but can i search in documents which are marked for deletion? Bye --- Ursprüngliche Nachricht --- Von: Yonik Seeley [EMAIL PROTECTED] An: java-user@lucene.apache.org Betreff: Re: IndexReader delete doc! delete

Re: IndexReader delete doc! delete terms?

2005-09-10 Thread dozean
Ok... but can i search in documents which are marked for deletion? Bye --- Ursprüngliche Nachricht --- Von: Yonik Seeley [EMAIL PROTECTED] An: java-user@lucene.apache.org Betreff: Re: IndexReader delete doc! delete terms? Datum: Fri, 9 Sep 2005 09:33:38 -0400 Nope. The IndexReader

IndexReader delete doc! delete terms?

2005-09-09 Thread dozean
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 +++

Re: IndexReader delete doc! delete terms?

2005-09-09 Thread Yonik Seeley
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