Re: open file descriptors for deleted index files

2007-09-04 Thread Bill Au
Closing old IndexSearcher should take care of this problem for you. Take a look at Solr. It opens a new IndexSearcher and direct all requests to the new one. It then closes the old IndexSearcher when all the requests that it is serving has completed. Bill On 9/4/07, Tony Qian <[EMAIL PROTECTED]

Re: open file descriptors for deleted index files

2007-09-04 Thread Yonik Seeley
On 9/4/07, Tony Qian <[EMAIL PROTECTED]> wrote: > We run a servlet inside Tomcat. We transfer index files to search server > every 5 minutes using rsync with --delete option. Also, we schedule a > TimeTask inside servlet to check if index files are updated. If yes, create > a new IndexSearcher obje