This would be a handy addition to solr-contrib.
The further evolution we had is that sometimes java freezes the the
'stop' command does not work. It is better to use the 'stop' command
than kill the process, so we added a sleep command that gave it maybe
30 seconds to shut down and then hit it wit
Lee Smith-6 wrote:
>
> So how can I stop and restart the service ?
>
> Hope you can help get me going again.
>
> Thank you
> Lee
>
I found this shell script which works well for me...
#!/bin/sh -e
# Starts, stops, and restarts solr
SOLR_DIR="/usr/local/solr/example"
JAVA_OPTIONS="-Xmx10
On Thu, Dec 3, 2009 at 5:01 PM, Yonik Seeley wrote:
> On Thu, Dec 3, 2009 at 4:57 PM, Lee Smith wrote:
> > Hello All
> >
> > I am just starting out today with solr and looking for some advice but I
> > first have a problem.
> >
> > I ran the start command ie.
> >
> > user:~/solr/example$ java -ja
On Thu, Dec 3, 2009 at 4:57 PM, Lee Smith wrote:
> Hello All
>
> I am just starting out today with solr and looking for some advice but I
> first have a problem.
>
> I ran the start command ie.
>
> user:~/solr/example$ java -jar start.jar
>
> Which worked perfect and started to explore the interfa
Erik Hatcher wrote:
Maybe the PingRequestHandler can help? It can check for the existence
of a file (see solrconfig.xml for healthcheck) and return an error if
it is not there. This wouldn't prevent Solr from responding to
requests, but if a client used that information to determine whether
to
Maybe the PingRequestHandler can help? It can check for the existence
of a file (see solrconfig.xml for healthcheck) and return an error if
it is not there. This wouldn't prevent Solr from responding to
requests, but if a client used that information to determine whether
to make requests