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

SolrDocument::deleteField

(PECL solr >= 0.9.2)

SolrDocument::deleteFieldRemoves a field from the document

說明

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

Removes a field from the document.

參數(shù)

fieldName

Name of the field

返回值

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