SolrInputDocument::toArray

(PECL solr >= 0.9.2)

SolrInputDocument::toArrayReturns an array representation of the input document

说明

public SolrInputDocument::toArray(): array

Returns an array representation of the input document.

参数

此函数没有参数。

返回值

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