array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'solrdocument.set.php', 1 => 'SolrDocument::__set', 2 => 'Adds another field to the document', ), 'up' => array ( 0 => 'class.solrdocument.php', 1 => 'SolrDocument', ), 'prev' => array ( 0 => 'solrdocument.serialize.php', 1 => 'SolrDocument::serialize', ), 'next' => array ( 0 => 'solrdocument.sort.php', 1 => 'SolrDocument::sort', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrdocument/set.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL solr >= 0.9.2)
SolrDocument::__set — Adds another field to the document
Adds another field to the document. Used to set the fields as new properties.
fieldNameName of the field.
fieldValueField value.