Hi all,

I am trying to send a query to Solr from my PHP script and retrieve the
results. I found this script on the wiki http://wiki.apache.org/solr/SolPHP

I tried to use it but I guess I didn't use it correctly, there wasn't any
result appear (blank). Below is my simple code to use the Solrquery class.

              $query = new SolrQuery;

               $query->limit = 10;
               $query->group_id = 1;

               $results = $query->runQuery(water);
               echo $results;

Can anyone tell me what is wrong with this? And if there is any other way to
do this? Thanks!

Reply via email to