I've filed this as https://issues.apache.org/jira/browse/SOLR-320

Sorry for the mixups!

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