array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.solrdocument.php', 1 => 'SolrDocument', ), 'up' => array ( 0 => 'book.solr.php', 1 => 'Solr', ), 'prev' => array ( 0 => 'solrinputdocument.toarray.php', 1 => 'SolrInputDocument::toArray', ), 'next' => array ( 0 => 'solrdocument.addfield.php', 1 => 'SolrDocument::addField', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrdocument.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.solrdocument.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
Represents a Solr document retrieved from a query response.
SolrDocument::SORT_DEFAULT
Default mode for sorting fields within the document.
SolrDocument::SORT_ASC
Sorts the fields in ascending order
SolrDocument::SORT_DESC
Sorts the fields in descending order
SolrDocument::SORT_FIELD_NAME
Sorts the fields by field name.
SolrDocument::SORT_FIELD_VALUE_COUNT
Sorts the fields by number of values in each field.
SolrDocument::SORT_FIELD_BOOST_VALUE
Sorts the fields by thier boost values.