| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
SolrDocument::toArray(PECL solr >= 0.9.2) SolrDocument::toArray — 文書の配列表現を返す 説明
public array SolrDocument::toArray
( void
)
文書の配列表現を返します。 パラメータこの関数にはパラメータはありません。 返り値文書の配列表現を返します。 例
例1 SolrDocument::toArray() の例
<?php 上の例の出力は、 たとえば以下のようになります。 Array ( [document_boost] => 0 [field_count] => 3 [fields] => Array ( [0] => SolrDocumentField Object ( [name] => id [boost] => 0 [values] => Array ( [0] => 1123 ) ) [1] => SolrDocumentField Object ( [name] => features [boost] => 0 [values] => Array ( [0] => PHP Client Side [1] => Fast development cycles ) ) [2] => SolrDocumentField Object ( [name] => cat [boost] => 0 [values] => Array ( [0] => Software [1] => Custom Search [2] => Information Technology ) ) ) ) |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「SolrDocument::toArray - 文書の配列表現を返す」をGoogle検索
|