Re: command line to check if Solr is up running

2010-10-27 Thread Pradeep Singh
How about - Please do not respond to 20 emails at one time? On Wed, Oct 27, 2010 at 12:33 AM, Lance Norskog wrote: > Please start new threads for new topics. > > > Xin Li wrote: > >> As we know we can use browser to check if Solr is running by going to >> http://$hostName:$portNumber/$masterName

Re: command line to check if Solr is up running

2010-10-27 Thread Lance Norskog
Please start new threads for new topics. Xin Li wrote: As we know we can use browser to check if Solr is running by going to http://$hostName:$portNumber/$masterName/admin, say http://localhost:8080/solr1/admin. My questions is: are there any ways to check it using command line? I used "curl

Re: command line to check if Solr is up running

2010-10-26 Thread Peter Karich
Hi Xin, from the wiki: http://wiki.apache.org/solr/SolrConfigXml The URL of the "ping" query is* /admin/ping * You can also check (via wget) the number of documents. it might look like a rusty hack but it works for me: wget -T 1 -q "http://localhost:8080/solr/select?q=*:*"; -O - | tr '/>'

RE: command line to check if Solr is up running

2010-10-25 Thread Xin Li
Thanks Bob and Ahmet, "curl http://localhost:8080/solr1/admin/ping"; works fine :) Xin -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Monday, October 25, 2010 4:03 PM To: solr-user@lucene.apache.org Subject: Re: command line to check if Solr is

Re: command line to check if Solr is up running

2010-10-25 Thread Ahmet Arslan
> My questions is: are > there any ways to check it using command line? I used "curl > http://localhost:8080"; to check my Tomcat, it worked > fine. However, no response if I try "curl http://localhost:8080/solr1/admin"; > (even when my Solr > is running). Does anyone know any command line > alter

Re: command line to check if Solr is up running

2010-10-25 Thread Rob Casson
you could look at the ping stuff: http://wiki.apache.org/solr/SolrConfigXml#The_Admin.2BAC8-GUI_Section cheers, rob On Mon, Oct 25, 2010 at 3:56 PM, Xin Li wrote: > As we know we can use browser to check if Solr is running by going to > http://$hostName:$portNumber/$masterName/admin, say