SolrDocument
PHP Manual

SolrDocument::serialize

(PECL solr >= 0.9.2)

SolrDocument::serializeUsed for custom serialization

说明

public string SolrDocument::serialize ( void )

Used for custom serialization.

参数

此函数没有参数。

返回值

Returns a string representing the serialized Solr document.


SolrDocument
PHP Manual