array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'solrdocument.deletefield.php', 1 => 'SolrDocument::deleteField', 2 => 'Removes a field from the document', ), 'up' => array ( 0 => 'class.solrdocument.php', 1 => 'SolrDocument', ), 'prev' => array ( 0 => 'solrdocument.current.php', 1 => 'SolrDocument::current', ), 'next' => array ( 0 => 'solrdocument.destruct.php', 1 => 'SolrDocument::__destruct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrdocument/deletefield.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrDocument::deleteField

(PECL solr >= 0.9.2)

SolrDocument::deleteFieldRemoves a field from the document

Beschreibung

public SolrDocument::deleteField(string $fieldName): bool

Removes a field from the document.

Parameter-Liste

fieldName

Name of the field

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.