diff --git a/Blacklight/SphinxSearch.php b/Blacklight/SphinxSearch.php index dfa4fd6e8..329f3975b 100755 --- a/Blacklight/SphinxSearch.php +++ b/Blacklight/SphinxSearch.php @@ -195,7 +195,7 @@ class SphinxSearch */ public function searchIndexes(string $rt_index, $searchString = '', $column = [], array $searchArray = []): array { - $query = $this->sphinxQL->select()->from($rt_index)->option('max_matches', 10000)->option('ranker', 'matchany')->limit(0, 10000)->orderBy('weight()', 'desc'); + $query = $this->sphinxQL->select()->from($rt_index)->option('max_matches', 100000)->option('ranker', 'sph04')->option('sort_method', 'pq')->limit(0, 100000); if (! empty($searchArray)) { foreach ($searchArray as $key => $value) { $query->match($key, $value); diff --git a/Changelog b/Changelog index 2cb806773..830d4f35e 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2019-01-21 DariusIII + * Chg: Improve Manticore Search results, return more relevant ones and more current * Fix: Fix XML_Response atom:link url reported for api v1 * Chg: Slightly optimize searchIndexes query * Fix: Fix error on search with argument 16 not being an array but null