diff --git a/lib/Doctrine/Search/Query.php b/lib/Doctrine/Search/Query.php index 0435d0cb5..dab747292 100644 --- a/lib/Doctrine/Search/Query.php +++ b/lib/Doctrine/Search/Query.php @@ -88,7 +88,7 @@ class Doctrine_Search_Query $where .= $this->parseClause($text); $groupby = 'GROUP BY ' . $foreignId; - $orderby = 'ORDER BY relevance'; + $orderby = 'ORDER BY relevance DESC'; $this->_sql = $select . ' ' . $from . ' ' . $where . ' ' . $groupby . ' ' . $orderby; }