lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: Problems with embedded Solr
Date Thu, 26 Jul 2007 05:27:36 GMT
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."®


Mime
View raw message