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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]