I'm running this query:
curl --data-urlencode 'stmt=SELECT avg(TextSize) from UNCLASS'
http://cordelia:9100/solr/UNCLASS/sql?aggregationMode=map_reduce
The error that I get back is:
{"result-set":{"docs":[
{"EXCEPTION":"org.apache.solr.common.SolrException: Collection not
found: unclass","EOF":true,"RESPONSE_TIME":2}]}}
TextSize is defined as:
<field name="TextSize" type="tlongs" docValues="true"
multiValued="false" indexed="true" stored="true"/>
This query works fine:
curl --data-urlencode 'stmt=SELECT TextSize from UNCLASS'
http://cordelia:9100/solr/UNCLASS/sql?aggregationMode=map_reduce
Any idea what I'm doing wrong?
Thank you!
-Joe