SolrInputDocument
PHP Manual

SolrInputDocument::toArray

(PECL solr >= 0.9.2)

SolrInputDocument::toArrayReturns an array representation of the input document

说明

public array SolrInputDocument::toArray ( void )

Returns an array representation of the input document.

参数

此函数没有参数。

返回值

Returns an array containing the fields. It returns FALSE on failure.


SolrInputDocument
PHP Manual