SolrInputDocument
PHP Manual

SolrInputDocument::clear

(PECL solr >= 0.9.2)

SolrInputDocument::clearResets the input document

Descrição

public bool SolrInputDocument::clear ( void )

Resets the document by dropping all the fields and resets the document boost to zero.

Parâmetros

Esta função não contém parâmetros.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.


SolrInputDocument
PHP Manual