SolrInputDocument::toArray
PHP Manual
PHP Manual»SolrInputDocument»SolrInputDocument::toArray

SolrInputDocument::toArray

(PECL solr >= 0.9.2)

SolrInputDocument::toArrayReturns an array representation of the input document

说明

public function SolrInputDocument::toArray(): array

Returns an array representation of the input document.

参数

此函数没有参数。

返回值

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

To Top