public function __construct($key = '', $value = null, $boost = 1.0) { if (!empty($key)) { $this->setValue($key, $value, $boost); } }