Apache Solr SolrDocument::__set

(PECL solr >= 0.9.2)

SolrDocument::__set — 문서에 다른 필드 추가


설명

public SolrDocument::__set(string $fieldName, string $fieldValue): bool

문서에 다른 필드를 추가합니다. 필드를 새 속성으로 설정하는 데 사용됩니다.


매개변수

fieldName
필드 이름
fieldValue
필드 값.

반환 값

성공하면 true를, 실패하면 false를 반환합니다.