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锟斤拷