array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), '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' => 'ja', '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)
このクラスは、Solr インデックスにサブミットされようとしている Solr 文書を表現します。
SolrInputDocument::SORT_DEFAULT
フィールドを昇順でソート
SolrInputDocument::SORT_ASC
フィールドを昇順でソート
SolrInputDocument::SORT_DESC
フィールドを降順でソート
SolrInputDocument::SORT_FIELD_NAME
フィールドを名前でソート
SolrInputDocument::SORT_FIELD_VALUE_COUNT
フィールドを値の数でソート
SolrInputDocument::SORT_FIELD_BOOST_VALUE
boost 値でフィールドをソート