Thanks David.. got it working -----Original Message----- From: David Santamauro [mailto:david.santama...@gmail.com] Sent: Monday, September 19, 2016 11:55 AM To: solr-user@lucene.apache.org Cc: david.santama...@gmail.com Subject: Re: script to get core num docs
https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API wget -O- -q \ '<your-instance>/admin/cores?action=STATUS&core=coreName&wt=json&indent=true' \ | grep numDocs // /admin/cores?action=STATUS&core=alexandria_shard2_replica1&wt=json&indent=1'|grep numDocs|cut -f2 -d':'| On 09/19/2016 11:22 AM, KRIS MUSSHORN wrote: > How can i get the count of docs from a core with bash? > Seems like I have to call Admin/Luke but cant find any specifics. > Thanks > Kris >