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

SolrInputDocument::deleteField

(PECL solr >= 0.9.2)

SolrInputDocument::deleteFieldRemoves a field from the document

說明

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

Removes a field from the document.

參數(shù)

fieldName

The name of the field.

返回值

成功時返回 true, 或者在失敗時返回 false