Re: Some documents are not added to the index

2006-05-17 Thread Yonik Seeley
On 5/17/06, Martin Kobele <[EMAIL PROTECTED]> wrote: > There may also be a bug in your code that adds the 512 documents (not > synchronizing the clients properly could cause your count to be off). luke tells me how many documents are in my index. I open the index in luke after I closed my app. al

Re: Some documents are not added to the index

2006-05-17 Thread Martin Kobele
On Wednesday 17 May 2006 09:55, karl wettin wrote: > 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. how do I clear the index? I create an IndexWriter with the create

Re: Some documents are not added to the index

2006-05-17 Thread Martin Kobele
On Wednesday 17 May 2006 12:03, Yonik Seeley wrote: > On 5/17/06, Martin Kobele <[EMAIL PROTECTED]> wrote: > > several threads add document to the same index. > > As noted in the FAQ, adding documents is thread safe. > > (I even synchronize my static index writer when I add documents. just to > > m

Re: Some documents are not added to the index

2006-05-17 Thread Yonik Seeley
On 5/17/06, Martin Kobele <[EMAIL PROTECTED]> wrote: several threads add document to the same index. As noted in the FAQ, adding documents is thread safe. (I even synchronize my static index writer when I add documents. just to make sure.) However, after addind all my documents, the index does n

Re: Some documents are not added to the index

2006-05-17 Thread karl wettin
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? > >

Re: Some documents are not added to the index

2006-05-17 Thread Martin Kobele
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. >

Some documents are not added to the index

2006-05-17 Thread Martin Kobele
Hi, several threads add document to the same index. As noted in the FAQ, adding documents is thread safe. (I even synchronize my static index writer when I add documents. just to make sure.) However, after addind all my documents, the index does not contain all of the documents. When I run it a