SolrDocument
PHP Manual

SolrDocument::offsetUnset

(PECL solr >= 0.9.2)

SolrDocument::offsetUnsetRemoves a field

Descrierea

public void SolrDocument::offsetUnset ( string $fieldName )

Removes a field from the document.

Parametri

fieldName

The name of the field.

Valorile întoarse

No return value.


SolrDocument
PHP Manual