当我尝试这段代码时,我有一个日志说
Call to undefined method SolrQueryResponse::getInputDocument() in...
$solrQueryResponse->setParseMode(\SolrQueryResponse::PARSE_SOLR_DOC);
$res = $solrQueryResponse->getResponse();
$doc = $res->response->docs[0]->getInputDocument();