(PECL solr >= 0.9.2)
SolrDocument::clear — Drops all the fields in the document
Resets the current object. Discards all the fields and resets the document boost to zero.
В цієї функції немає параметрів.
Повертає TRUE
в успішному випадку або FALSE
в разі помилки.