From 1e2736d67b4564b4333016d6d9e53b1f8b840267 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 4 Jun 2023 18:10:59 +0300 Subject: [PATCH] skip empty mime type index --- config/sphinx.conf.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sphinx.conf.txt b/config/sphinx.conf.txt index 226b936..5b196f3 100644 --- a/config/sphinx.conf.txt +++ b/config/sphinx.conf.txt @@ -27,7 +27,7 @@ source hostPage : common WHERE `hostPageDescription`.`hostPageId` = `hostPage`.`hostPageId`) AS `pageDescription` \ FROM `hostPage` \ JOIN `host` ON (`host`.`hostId` = `hostPage`.`hostId`) \ - WHERE `host`.`status` = '1' AND `hostPage`.`httpCode` = 200 AND `hostPage`.`timeBanned` IS NULL\ + WHERE `host`.`status` = '1' AND `hostPage`.`httpCode` = 200 AND `hostPage`.`timeBanned` IS NULL AND `hostPage`.`mime` IS NOT NULL \ sql_attr_uint = rank sql_attr_string = mime