[QueryTest] Test if independent phrases are really independent
ClosedPublic

Authored by bruns on Jun 16 2019, 9:08 PM.

Details

Summary

Tags (and KFileMetaData properties) call TermGenerator::inxedXattrText
(respectively TermGenerator::indexText) multiple times if there are
several tags for a file or multiple values for one property.

In case there are the tags "Two", "Three" and "Two-Three", querying
"Two-Three" should not yield files which just have the "Two" and "Three"
tags set.

Depends on D21862, D21863

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.Jun 16 2019, 9:08 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptJun 16 2019, 9:08 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Jun 16 2019, 9:08 PM
ngraham accepted this revision.Thu, Jun 20, 12:52 PM
This revision is now accepted and ready to land.Thu, Jun 20, 12:52 PM