* @license http://github.com/basdenooijer/solarium/raw/master/COPYING * @link http://www.solarium-project.org/ * * @package Solarium * @subpackage Result */ /** * Ping query result * * A ping query has no useful result so only a dummy status var is available. * If you don't get an exception for a ping query it was succesful. * * @package Solarium * @subpackage Result */ class Solarium_Result_Ping extends Solarium_Result { /** * Get Solr status code * * Since no status is returned for a ping, a default of 0 is used. * If you don't get an exception for a ping query it was succesful. * * @return int */ public function getStatus() { return 0; } }