bruns added a comment.
I would very much prefer a test driven approach here: - Write down in english prosa what you want to match - Create some test cases - Add implementation classes Up to this point, you don't need any real database, QMap or std::map will do. Decoupling this from the database has the benefit it is much easier to understand and much easier to debug. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D13747 To: michaeleden, vhanda, #baloo Cc: bruns, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, abrahams