update : 2015.11.03
php.shukuma.com

검색:
 
 
Adds a field to the document

SolrDocument::offsetSet

(PECL solr >= 0.9.2)

SolrDocument::offsetSetAdds a field to the document

설명

public void SolrDocument::offsetSet ( string $fieldName , string $fieldValue )

Used when the object is treated as an array to add a field to the document.

인수

fieldName

The name of the field.

fieldValue

The value for this field.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.