public function setFieldBoost($key, $boost)
	{
		$boost = (float) $boost;

		if ($boost > 0.0)
		{
			$this->_fieldBoosts[$key] = $boost;
		}
		else
		{
			$this->_fieldBoosts[$key] = false;
		}
	}
public function setFieldBoost($key, $boost)
	{
		$boost = (float) $boost;

		if ($boost > 0.0)
		{
			$this->_fieldBoosts[$key] = $boost;
		}
		else
		{
			$this->_fieldBoosts[$key] = false;
		}
	}
public function setFieldBoost ( $ key , $ boost ) { $ boost = ( float ) $ boost ; if ( $ boost > 0.0 ) { $ this -> _fieldBoosts [ $ key ] = $ boost ; } else { $ this -> _fieldBoosts [ $ key ] = false ; } }
Set the field boost for a document field

@param string $key field name for the boost
@param mixed $boost Use false for default boost, else cast to float that should be > 0 or will be treated as false
Set the field boost for a document field