Fix for Solr 3.6+

remove search from the query solr/search:type.
need to fix the calculated value.