document delete after reader.close()

2007-07-06 Thread Boeckli, Dominique
Hello, i have following problem: I have written a Lucene JCA Connector which also taking care of the index maintenance. From time to time the connector is called (time initiated) and verifies if the index still is in synch with the filesystem (deleted, added or updated documents). If something c

Re: document delete after reader.close()

2007-07-06 Thread Erick Erickson
Warning, I don't know much about JCA Connector. That said, index modifications aren't visible to a searcher until the *searcher* is closed and re-opened. Which sounds suspiciously like what would happen when the thread terminates. This may be totally off base, but sounds like a place to look...

RE: document delete after reader.close()

2007-07-09 Thread Boeckli, Dominique
- From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 04:38 PM To: java-user@lucene.apache.org Subject: Re: document delete after reader.close() Warning, I don't know much about JCA Connector. That said, index modifications aren't visible to a searcher until the

Re: document delete after reader.close()

2007-07-09 Thread Erick Erickson
ates in the index for that reason. Now i close the readers and everything is ok. Best Dominique -Original Message- From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 04:38 PM To: java-user@lucene.apache.org Subject: Re: document delete after reader.close() Warning, I