SolrInputDocument::clear
PHP Manual
PHP Manual»SolrInputDocument»SolrInputDocument::clear

SolrInputDocument::clear

(PECL solr >= 0.9.2)

SolrInputDocument::clearResets the input document

Опис

public function SolrInputDocument::clear(): bool

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

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Повертає true у разі успіху або false в разі помилки.

To Top