(PECL solr >= 0.9.2)
SolrDocument::getInputDocument — Returns a SolrInputDocument equivalent of the object
public SolrDocument::getInputDocument ( ) : SolrInputDocument
Returns a SolrInputDocument equivalent of the object. This is useful if one wishes to resubmit/update a document retrieved from a query.
This function has no parameters.
Returns a SolrInputDocument on success and null
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/solrdocument.getinputdocument.php