PHP - Manual: SolrResponse::setParseMode
2024-12-22
(PECL solr >= 0.9.2)
SolrResponse::setParseMode — Sets the parse mode
$parser_mode
= 0): boolSets the parse mode.
parser_mode
SolrResponse::PARSE_SOLR_DOC parses documents in SolrDocument instances. SolrResponse::PARSE_SOLR_OBJ parses document into SolrObjects.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/solrresponse.setparsemode.php