在线文档教程
PHP
Solr

SolrInputDocument::toArray

SolrInputDocument::toArray

(PECL solr >= 0.9.2)

SolrInputDocument::toArray — Returns an array representation of the input document

Description

public array SolrInputDocument::toArray ( void )

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.

← SolrInputDocument::sort

SolrDocument →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrinputdocument.toarray.php