[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
Branch
phrasestorage_fixes
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12920
Build 12938: arc lint + arc unit
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.Jun 20 2019, 12:52 PM
This revision is now accepted and ready to land.Jun 20 2019, 12:52 PM