SolrResponse::setParseMode

(PECL solr >= 0.9.2)

SolrResponse::setParseModeSets the parse mode

说锟斤拷

public SolrResponse::setParseMode ([ int $parser_mode = 0 ] ) : bool

Sets the parse mode.

锟斤拷锟斤拷

parser_mode

SolrResponse::PARSE_SOLR_DOC parses documents in SolrDocument instances. SolrResponse::PARSE_SOLR_OBJ parses document into SolrObjects.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷