SolrDocument::merge
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Merges source to the current SolrDocument
Description
SolrDocument::merge(SolrDocument $sourceDoc, bool $overwrite = true): bool
Merges source to the current SolrDocument.
Parameters
sourceDocThe source document.
overwriteIf this is true then fields with the same name in the destination document will be overwritten.
Return Values
Success