array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), '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' => 'fr', '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)
Représente un document Solr récupéré suite à une requête.
SolrDocument::SORT_DEFAULT
Mode par défaut pour le tri des champs du document.
SolrDocument::SORT_ASC
Tri croissant des champs.
SolrDocument::SORT_DESC
Tri décroissant des champs.
SolrDocument::SORT_FIELD_NAME
Tri les champs par leurs noms.
SolrDocument::SORT_FIELD_VALUE_COUNT
Tri les champs par le nombre de valeurs dans chaque champ.
SolrDocument::SORT_FIELD_BOOST_VALUE
Tri les champs par leurs valeurs de boost.