Php/docs/solrquery.setexplainother

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

SolrQuery::setExplainOther

(PECL solr >= 0.9.2)

SolrQuery::setExplainOtherSets the explainOther common query parameter


说明

public SolrQuery::setExplainOther ( string $query ) : SolrQuery

Sets the explainOther common query parameter


参数

query
The Lucene query to identify a set of documents


返回值

Returns the current SolrQuery object, if the return value is used.