SolrDocument::merge

(PECL solr >= 0.9.2)

SolrDocument::mergeMerges source to the current SolrDocument

˵��

public SolrDocument::merge ( SolrDocument $sourceDoc [, bool $overwrite = TRUE ] ) : bool

Merges source to the current SolrDocument.

����

sourceDoc

The source document.

overwrite

If this is TRUE then fields with the same name in the destination document will be overwritten.

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��