The previous message that came through with no body holds the attachment.

I believe my issue is due to threads... after using JDB on the app I attached, 
I noticed one of the threads created by the SolrCore doesn't die after the core 
is closed. I need the thread to die on its own, because calling System.exit is 
not an option for my application.

Is there a step I'm missing?

Thanks,
Stu


-----Original Message-----
From: Ryan McKinley <[EMAIL PROTECTED]>
Sent: Thu, July 26, 2007 1:27 am
To: solr-user@lucene.apache.org
Subject: Re: Problems with embedded Solr

no attachments came through...

Off hand, "SolrCore.close()" should not exit the program, it just closes 
the searchers and cleans up after itself.

System.exit(0);

will terminate the program.


Stu Hood wrote:
> 
> I'll try that again... (don't let my e-mail failures reflect badly on 
> Webmail.us =) 
> 
> Hey everyone,
> 
> I'm
> having some trouble getting embedded Solr working exactly as I'd like.
> I've attached some code that almost works how I want it to, except that
> even after calling SolrCore.close(), the program doesn't exit.
> 
> Take
> a look in SolrRunner.java and see if you can spot any problems with the
> code. If not, edit the `run` script, and change the SOLR_INSTALL path
> to point to a copy of Solr. Then execute `run` from inside the
> solr-runner directory, and you should see that everything executes as
> expected, but doesn't exit when it is finished.
> 
> Any ideas?
> 
> Thanks!
> 
> Stu Hood
> Webmail.us
> "You manage your business. We'll manage your email."®

Reply via email to