SolrDocument::offsetUnset

(PECL solr >= 0.9.2)

SolrDocument::offsetUnsetRemoves a field

Опис

public SolrDocument::offsetUnset(string $fieldName): void

Removes a field from the document.

Параметри

fieldName

The name of the field.

Значення, що повертаються

No return value.