Php/docs/solrdocument.getinputdocument

来自菜鸟教程
跳转至:导航、​搜索

SolrDocument::getInputDocument

(PECL solr >= 0.9.2)

SolrDocument::getInputDocumentReturns 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.


参数

此函数没有参数。


返回值

Returns a SolrInputDocument on success and null on failure.