= 0.9.2)SolrInputDocument::deleteField — Removes a field from the document說(shuō)明public SolrInputDocument::delete">

SolrInputDocument::deleteField

(PECL solr >= 0.9.2)

SolrInputDocument::deleteFieldRemoves a field from the document

說(shuō)明

public SolrInputDocument::deleteField(string $fieldName): bool

Removes a field from the document.

參數(shù)

fieldName

The name of the field.

返回值

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