Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 87965 invoked from network); 17 May 2006 13:39:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2006 13:39:08 -0000 Received: (qmail 5440 invoked by uid 500); 17 May 2006 13:39:01 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 5414 invoked by uid 500); 17 May 2006 13:39:01 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 5403 invoked by uid 99); 17 May 2006 13:39:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 06:39:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.207.119.238] (HELO mail.netsweeper.com) (66.207.119.238) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 06:39:00 -0700 Received: from kobele.netsweeper.com ([192.168.1.181]) by mail.netsweeper.com (8.12.11/8.12.11) with ESMTP id k4HDcIeB024136; Wed, 17 May 2006 09:38:18 -0400 From: Martin Kobele Reply-To: martin.kobele@netsweeper.com Organization: Netsweeper Inc To: karl wettin , java-user@lucene.apache.org Subject: Re: Some documents are not added to the index Date: Wed, 17 May 2006 09:38:05 -0400 User-Agent: KMail/1.9.1 References: <200605170902.24190.martin.kobele@netsweeper.com> <1147871377.4926.27.camel@localhost> In-Reply-To: <1147871377.4926.27.camel@localhost> X-Face: 'Hg*nnc?-\\wB.#~W"O5hQ,b%:&[TGXGb4s X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Wednesday 17 May 2006 09:09, karl wettin wrote: > On Wed, 2006-05-17 at 09:02 -0400, Martin Kobele wrote: > > How can I check whether a document was actually added? > > Is there another way to monitor whether the doc was added? > > Luke is your friend when it comes to inspecting indices. > yes, I use that. That's how I know that not all documents are in the index ;) > Sometimes IndexWriter.setInfoStream is enough. > .html#setInfoStream(java.io.PrintStream)> I'm adding 512 documents to an index. 20 threads are writing into the index. I set the setInfoStream to System.out. I got an index with 419 documents and no messages on stdout :(. Weird. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org