phpday 2027 - Call for Papers

SolrDocument::clear

(PECL solr >= 0.9.2)

SolrDocument::clear — Drops all the fields in the document

Descrizione

public function SolrDocument::clear(): bool

Resets the current object. Discards all the fields and resets the document boost to zero.

Elenco dei parametri

Questa funzione non ha parametri.

Valori restituiti

Restituisce true in caso di successo o false in caso di fallimento.

+add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top