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