I'm new to solr ...
I installed it by this command pecl install solr
on OSX .
And put the extension extension=solr.so
in php.ini
then restart by apachectl restart
.
But still this problem shown
CException
Solr service not responding.
This is the code :
public static function SolrQuery($query,$limit=1,$offset=0,$additionalParameters=array())
{
//echo $query;exit;
//var_dump($query); exit;
return Yii::app()->smsReportAdmin->get($query,$offset,$limit,$additionalParameters);
}
Please help ...