SolrDocument::__unset

(PECL solr >= 0.9.2)

SolrDocument::__unsetRemoves a field from the document

Descrição

publicSolrDocument::__unset(string$fieldName): bool

Removes a field from the document when the field is access as an object property.

Parâmetros

fieldName

The name of the field.

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

To Top