thanks!

but it is silly that I can seem to escape the {!sum=true} properly to make
it work in my curl :-(

 time curl -d
'q=*:*&rows=0&shards=solrhostname:8080/solr/413-1,anothersolrhost:8080/solr/413-2&stats=true&stats.field={!sum=true}myfieldname'
http://localhost:8080/solr/413-1/select/? | xmllint --format -

double quote or single quote, only escape ! or escape all { and !, nothing
will make it work. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-efficiently-get-sum-of-an-int-field-tp4238464p4238478.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to