Re: notification of active IndexSearchers when index is modified?

2006-01-19 Thread Alejandro Rusell
Bill, I donĀ“t know of any automatic method to get notified of index changes. One option is that the process that updates the index send a signal to the search deamon. Or, the search deamon may have a thread that periodically checks for new indexes (I think of two possible checks: check the versio

Re: notification of active IndexSearchers when index is modified?

2006-01-19 Thread Bill Janssen
Daniel, Thanks for the note. But I think you misunderstand a bit (or I do :-). These are two separate processes. The updater (in Java) runs and exits, flushing its buffers, over and over again, as new info comes in. The query server (in Python), however, runs continuously, doing searches and s

Re: notification of active IndexSearchers when index is modified?

2006-01-19 Thread Daniel Noll
Bill Janssen wrote: I've got a daemon process which keeps an IndexSearcher open on an index and responds to query requests by sending back document identifiers. I've also got other processes updating the index by re-indexing existing documents, deleting obsolete documents, and adding new documen

notification of active IndexSearchers when index is modified?

2006-01-19 Thread Bill Janssen
I've got a daemon process which keeps an IndexSearcher open on an index and responds to query requests by sending back document identifiers. I've also got other processes updating the index by re-indexing existing documents, deleting obsolete documents, and adding new documents. Is there any way