lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kobele <martin.kob...@netsweeper.com>
Subject Re: Some documents are not added to the index
Date Wed, 17 May 2006 13:38:05 GMT
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.
> <http://www.getopt.org/luke>

yes, I use that. That's how I know that not all documents are in the index ;)

> Sometimes IndexWriter.setInfoStream is enough.
> <http://lucene.apache.org/java/docs/api/org/apache/lucene/index/IndexWriter
>.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


Mime
View raw message