Re: Stopping & Starting

2009-12-09 Thread Lance Norskog
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

Re: Stopping & Starting

2009-12-07 Thread regany
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

Re: Stopping & Starting

2009-12-03 Thread Israel Ekpo
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

Re: Stopping & Starting

2009-12-03 Thread Yonik Seeley
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

Re: Stopping / Starting IndexReaders in Solr 1.3+

2008-12-13 Thread Kay Kay
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

Re: Stopping / Starting IndexReaders in Solr 1.3+

2008-12-12 Thread Erik Hatcher
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