SolrInputDocument::clear

(PECL solr >= 0.9.2)

SolrInputDocument::clearResets the input document

Açıklama

public SolrInputDocument::clear ( ) : bool

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

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.