array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.solrinputdocument.php', 1 => 'SolrInputDocument', ), 'up' => array ( 0 => 'book.solr.php', 1 => 'Solr', ), 'prev' => array ( 0 => 'solrutils.queryphrase.php', 1 => 'SolrUtils::queryPhrase', ), 'next' => array ( 0 => 'solrinputdocument.addchilddocument.php', 1 => 'SolrInputDocument::addChildDocument', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrinputdocument.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.solrinputdocument.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
This class represents a Solr document that is about to be submitted to the Solr index.
SolrInputDocument::SORT_DEFAULT
Sorts the fields in ascending order.
SolrInputDocument::SORT_ASC
Sorts the fields in ascending order.
SolrInputDocument::SORT_DESC
Sorts the fields in descending order.
SolrInputDocument::SORT_FIELD_NAME
Sorts the fields by name
SolrInputDocument::SORT_FIELD_VALUE_COUNT
Sorts the fields by number of values.
SolrInputDocument::SORT_FIELD_BOOST_VALUE
Sorts the fields by boost value.