Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrQuery::removeMltQueryFieldSolrQuery::removeStatsFacet>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::removeSortField

(PECL solr >= 0.9.2)

SolrQuery::removeSortField — Removes one of the sort fields

Description

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

Removes one of the sort fields

Parameters

field

The name of the field

Return Values

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


<SolrQuery::removeMltQueryFieldSolrQuery::removeStatsFacet>
^SolrQueryLast updated: Mon, 26 Oct 2026