Php/docs/solrquery.removesortfield

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

SolrQuery::removeSortField

(PECL solr >= 0.9.2)

SolrQuery::removeSortFieldRemoves one of the sort fields


说明

public SolrQuery::removeSortField ( string $field ) : SolrQuery

Removes one of the sort fields


参数

field
The name of the field


返回值

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