SolrInputDocument::merge
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Merges one input document into another
Description
SolrInputDocument::merge(SolrInputDocument $sourceDoc, bool $overwrite = true): bool
Merges one input document into another.
Parameters
sourceDocThe source document.
overwriteIf this is true it will replace matching fields in the destination document.
Return Values
Success In the future, this will be modified to return the number of fields in the new document.