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.

锟斤拷锟斤拷

fieldName

The name of the field.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷