SolrInputDocument::clear

(PECL solr >= 0.9.2)

SolrInputDocument::clearResets the input document

Описание

public SolrInputDocument::clear ( void ) : bool

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

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.