Will someone please tell me why this stores the text "numDocs" instead of 
returning the number of docs in the core? 

#!/bin/bash 
DOC_COUNT=`wget -O- -q 
$SOLR_HOST'admin/cores?action=STATUS&core='$SOLR_CORE_NAME'&wt=json&indent=true'
 | grep numDocs | tr -d '0-9'` 

TIA 

Kris 

Reply via email to