Skip to content

Commit

Permalink
fix: The full-text search function is not effective
Browse files Browse the repository at this point in the history
Incorrect search status setting

Log: The full-text search function is not effective
Bug: https://pms.uniontech.com/bug-view-256997.html
liyigang1 authored and deepin-bot[bot] committed Jun 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b9e1953 commit 92fe99e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -278,7 +278,6 @@ bool FullTextSearcherPrivate::createIndex(const QString &path)
writer->close();

fmInfo() << "create index spending: " << timer.elapsed();
status.storeRelease(AbstractSearcher::kCompleted);
return true;
} catch (const LuceneException &e) {
fmWarning() << QString::fromStdWString(e.getError());

0 comments on commit 92fe99e

Please sign in to comment.