update page now

Voting

: five plus one?
(Example: nine)

The Note You're Voting On

ricardo at forleven dot com
8 years ago
class Search extends Solr
{
    protected $searchEngine;

    function __construct()
    {
        $this->searchEngine = $this->connect();
    }

    public function checkAlive()
    {
        $searchEngine = $this->searchEngine;

        if($searchEngine->ping())
        {
            return true;
        }
        else
        {
            return false;
        }
    }
}

<< Back to user notes page

To Top