Update search-manager.cpp

This commit is contained in:
fensite 2021-05-28 17:33:15 +08:00 committed by GitHub
parent 8e3fd0b1d1
commit 2154e5cae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ int FileContentSearch::keywordSearchContent() {
v.push_back(Xapian::Query(sKeyWord.at(i).word)); v.push_back(Xapian::Query(sKeyWord.at(i).word));
qDebug() << QString::fromStdString(sKeyWord.at(i).word); qDebug() << QString::fromStdString(sKeyWord.at(i).word);
} }
Xapian::Query query =Xapian::Query(Xapian::Query::OP_AND, v.begin(), v.end()); Xapian::Query query = Xapian::Query(Xapian::Query::OP_AND, v.begin(), v.end());
qDebug() << "keywordSearchContent:" << QString::fromStdString(query.get_description()); qDebug() << "keywordSearchContent:" << QString::fromStdString(query.get_description());