Re: finalizer() in SolrCore (was: Commits and Container Shutdown)

2007-04-16 Thread Bertrand Delacretaz
On 4/16/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: ...Yes, it's a typo. Fixed in revision 529367. -Bertrand

Re: finalizer() in SolrCore (was: Commits and Container Shutdown)

2007-04-16 Thread Yonik Seeley
On 4/16/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: On 4/16/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: > ...Further details on this: SolrCore has a finalizer() method that > closes the update handler. I'm not clear on finalizer() though. How/ > when is that invoked? I know about Obje

Re: finalizer() in SolrCore (was: Commits and Container Shutdown)

2007-04-16 Thread Grant Ingersoll
Is it useful to consider putting hooks into the various servlets (via the destroy() method) to explicitly call the finalizer()? -Grant On Apr 16, 2007, at 1:29 AM, Bertrand Delacretaz wrote: On 4/16/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: ...Further details on this: SolrCore has a fina

finalizer() in SolrCore (was: Commits and Container Shutdown)

2007-04-15 Thread Bertrand Delacretaz
On 4/16/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: ...Further details on this: SolrCore has a finalizer() method that closes the update handler. I'm not clear on finalizer() though. How/ when is that invoked? I know about Object.finalize(), but not finalizer()... Looking at the code, it s

Re: Commits and Container Shutdown

2007-04-15 Thread Erik Hatcher
On Apr 15, 2007, at 1:36 PM, Grant Ingersoll wrote: I am just confirming that shutting down the container causes a commit when using the DirectUpdateHandler2, correct? For example, if I index some documents but don't commit them and then shutdown the servlet container, upon startup those d

Commits and Container Shutdown

2007-04-15 Thread Grant Ingersoll
Hi, I am just confirming that shutting down the container causes a commit when using the DirectUpdateHandler2, correct? For example, if I index some documents but don't commit them and then shutdown the servlet container, upon startup those documents will be in the index as if they were