SolrDocument::__unset

(PECL solr >= 0.9.2)

SolrDocument::__unsetRemoves a field from the document

說明

public bool SolrDocument::__unset ( string $fieldName )

Removes a field from the document when the field is access as an object property.

參數

fieldName

The name of the field.

回傳值

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

add a note add a note

User Contributed Notes

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