From 4fa1f491e7d0860225c1d8bd69646b77c7664758 Mon Sep 17 00:00:00 2001 From: iaom Date: Thu, 18 Apr 2024 19:19:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(file-index):=E8=A7=A3=E5=86=B3=E5=8D=95?= =?UTF-8?q?=E7=8B=AC=E6=89=93=E5=BC=80AI=E7=B4=A2=E5=BC=95=E6=97=B6?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=AE=89=E8=A3=85=E7=9B=91=E5=90=AC=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libsearch/index/index-scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsearch/index/index-scheduler.cpp b/libsearch/index/index-scheduler.cpp index 273e4ef..accfb8f 100644 --- a/libsearch/index/index-scheduler.cpp +++ b/libsearch/index/index-scheduler.cpp @@ -474,7 +474,7 @@ void IndexScheduler::checkIfStartsWaiting() void IndexScheduler::installWatches() { - if(m_config->isFileIndexEnable() || m_config->isContentIndexEnable() || m_config->isOCREnable()) { + if(m_config->isFileIndexEnable() || m_config->isContentIndexEnable() || m_config->isOCREnable() || m_config->isAiIndexEnable()) { if(!m_watchInstalled) { m_fileWatcher.installWatches(); m_watchInstalled = true;