SolrInputDocument::toArray

(PECL solr >= 0.9.2)

SolrInputDocument::toArrayReturns an array representation of the input document

Description

public SolrInputDocument::toArray ( ) : array

Returns an array representation of the input document.

Parameters

This function has no parameters.

Return Values

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

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrinputdocument.toarray.php