SolrQuery
PHP 手册

SolrQuery::removeSortField

(PECL solr >= 0.9.2)

SolrQuery::removeSortFieldRemoves one of the sort fields

说明

public SolrQuery SolrQuery::removeSortField ( string $field )

Removes one of the sort fields

参数

field

The name of the field

返回值

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


SolrQuery
PHP 手册