Apache_Solr_Document::setField
Set a field value. Multi-valued fields should be set as arrays or instead use the addField(...) function which will automatically make sure the field is an array.
Signature
public function setField(string
$key,
mixed
$value,
[boolean
$boost = false] )
Parameters
$key
— string$value
— mixed$boost
— boolean- Use false for default boost, else cast to float that should be > 0 or will be treated as false