bruns created this revision. bruns added reviewers: Baloo, ngraham, astippich, poboiko. Herald added projects: Frameworks, Baloo. Herald added a subscriber: kde-frameworks-devel. bruns requested review of this revision.
REVISION SUMMARY Any search phrase consisting of a single term only can be handled by the PostingDB alone, and a document with single terms can never match a real phrase (consisting a multiple terms). Storing these terms also in the PositonDB just wastes space, so remove these from the DB, and delegate single term phrases to the PostingDB. While the document content and even filenames (basename + suffix) consist of multiple terms typically, folder names, tags and properties are often a single term. TEST PLAN ctest ctest -R querytest REPOSITORY R293 Baloo BRANCH master REVISION DETAIL https://phabricator.kde.org/D21866 AFFECTED FILES src/engine/termgenerator.cpp src/engine/transaction.cpp To: bruns, #baloo, ngraham, astippich, poboiko Cc: kde-frameworks-devel, LeGast00n, fbampaloukas, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams