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