On 4/20/2018 6:01 AM, rameshkjes wrote:
Using solrJ, I am able to access the solr core. But still I need to go to
command prompt to execute command for solr instance. Is there way to do
that?
I saw that you entered the IRC channel previouslyand asked the same
question, but I got no response from you when I tried to get more
information. And then you left the channel shortly afterwards.
Checking IRC this morning, it looks like you logged into the channel
again hours before I woke up for the day. And a little later, I tried
to speak to you there, but your connection timed out before I was done
typing my message. This is what I said:
10:16 <@elyograg> Ramesh_: there is EmbeddedSolrServer. But this is not
recommended for production. It cannot be made fault
tolerant, and it is only accessible from the program that
started it.
Solr is best used as a service. There is a service installer script
included with Solr that works on typical non-windows operating systems.
You mentioned solr.cmd on IRC, so I'm guessing it's on Windows. You're
on your own for getting a service running there. I recommend looking at
NSSM.
EmbeddedSolrServer can work well for tests.
Thanks,
Shawn