|
@@ -4,7 +4,7 @@ $SphQL->where_match('_all', 'fake', false);
|
4
|
4
|
$SphQL->select('id')->from('torrents, delta')->limit(0,0,10000);
|
5
|
5
|
$TTorrents = $SphQL->query()->get_meta('total_found');
|
6
|
6
|
|
7
|
|
-$SphQL->select('groupid')->group_by('groupid')$SphQL->from('torrents, delta')->limit(0,0,10000);
|
|
7
|
+$SphQL->select('groupid')->group_by('groupid')->from('torrents, delta')->limit(0,0,10000);
|
8
|
8
|
$TGroups = $SphQL->query()->get_meta('total_found');
|
9
|
9
|
|
10
|
10
|
$Cache->cache_value('sphinx_min_max_matches', 2*($TTorrents-$TGroups));
|