[QueryTest] Track if phrase matches in content or filename
ClosedPublic

Authored by bruns on Apr 17 2020, 8:49 PM.

Details

Summary

When checking for matches, a phrase can match the content, the filename,
or both.

Currently, it is not possible to only match the content, but not the
filename, thus the filename matches are not checked.

This is a preparatory change, no functional changes

Depends on D28925

Test Plan

ctest -R querytest

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Apr 17 2020, 8:49 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 17 2020, 8:49 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Apr 17 2020, 8:49 PM
ngraham accepted this revision.Apr 18 2020, 4:07 PM
This revision is now accepted and ready to land.Apr 18 2020, 4:07 PM
This revision was automatically updated to reflect the committed changes.