= 0.9.2)SolrDocument::__unset — Removes a field from the document說明public SolrDocument::__unset(string $fieldName): b">

SolrDocument::__unset

(PECL solr >= 0.9.2)

SolrDocument::__unsetRemoves a field from the document

說明

public SolrDocument::__unset(string $fieldName): bool

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

參數(shù)

fieldName

The name of the field.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false。