SolrDocument::serialize

(PECL solr >= 0.9.2)

SolrDocument::serializeUsed for custom serialization

Description

public SolrDocument::serialize ( ) : string

Used for custom serialization.

Parameters

This function has no parameters.

Return Values

Returns a string representing the serialized Solr document.

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