php8.5
Home/ Manual/ solr / solrdocument/ SolrDocument::getInputDocument

SolrDocument::getInputDocument

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Returns a SolrInputDocument equivalent of the object

Description

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.

Parameters Parameters

Return Values

Returns a SolrInputDocument on success and null on failure.

Source: reference/solr/solrdocument/getinputdocument.xml · from the official PHP manual (php/doc-en)