From 0f79c14466812f8fadbb8e30bb2a79a83d938360 Mon Sep 17 00:00:00 2001 From: iaom Date: Wed, 25 Oct 2023 10:37:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../searchinterface/searchtasks/file-content-search-task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsearch/searchinterface/searchtasks/file-content-search-task.cpp b/libsearch/searchinterface/searchtasks/file-content-search-task.cpp index 3292c9e..2c94abb 100644 --- a/libsearch/searchinterface/searchtasks/file-content-search-task.cpp +++ b/libsearch/searchinterface/searchtasks/file-content-search-task.cpp @@ -210,7 +210,7 @@ inline Xapian::Query FileContentSearchWorker::createQuery() { std::vector v; - for (const auto &keyword : m_searchController->getKeyword()) { + for (auto &keyword : m_searchController->getKeyword()) { std::vector sKeyWord = ChineseSegmentation::getInstance()->callSegment(keyword); for(const auto & c : sKeyWord) {