Removes a field from the document

# SolrDocument::deleteField

(PECL solr >= 0.9.2)

SolrDocument::deleteField — Removes a field from the document

### Description

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

Removes a field from the document.

### Parameters

`fieldName`

  Name of the field

### Return Values

Returns `true` on success or `false` on failure.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open