On Wed, 2006-05-17 at 09:38 -0400, Martin Kobele wrote: > 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 :(.
Can you make a small test case that produce this error and post the code here? I can only guess out of the blue. Do you clear the index now and then when creating a new IndexWriter? You say there is only one instance of that so that would not be it then. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]