(PECL solr >= 0.9.2)
SolrInputDocument::merge — Merges one input document into another
$sourceDoc, bool $overwrite = true): boolMerges one input document into another.
sourceDocThe source document.
overwrite
If this is true it will replace matching fields in the destination document.