SolrDocument::__set

(PECL solr >= 0.9.2)

SolrDocument::__setAdds another field to the document

說明

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

Adds another field to the document. Used to set the fields as new properties.

參數

fieldName

Name of the field.

fieldValue

Field value.

回傳值

如果成功則回傳 TRUE,失敗則回傳 FALSE

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top