search($query_content, 0, $limit); } catch (Exception $e) { // in production you'd probably log or email this error to an admin // and then show a special message to the user but for this example // we're going to show the full exception die("SEARCH EXCEPTION
{$e->__toString()}
"); } } ?> PHP Solr Client Example
response->numFound; $start = min(1, $total); $end = min($limit, $total); ?>
Results - of :
    response->docs as $doc) { ?>
  1. $value) { ?>