Apache Solr SolrDocument::merge
(PECL solr >= 0.9.2)
SolrDocument::merge — 현재 SolrDocument에 소스를 병합합니다.
설명
public SolrDocument::merge(SolrDocument $sourceDoc
, bool $overwrite
= true
): bool
현재 SolrDocument에 소스를 병합합니다.
매개변수
sourceDoc
- 소스 문서.
overwrite
- 이것이
true
이면 대상 문서에서 동일한 이름을 가진 필드를 덮어씁니다.
반환 값
성공하면 true
를, 실패하면 false
를 반환합니다.