On Tuesday, May 06, 2014 11:34:28 PM Ivan Čukić wrote: > Hi, > Hey Ivan
Maybe this discussion would be better on kde-devel since it is not Nepomuk related? > I've got a few questions regarding the files database. > > The first one is whether it would be possible to add the file category > (document, image, ...) to the sqlite mapping. > Yes. It would be possible, but what would be the advantage? We'd just be duplicating the data in both sqlite and xapian. > The second is an implementation detail. > > The code uses prepared queries, and it prepares a query for every single > call of the method which is sub-optimal. The preparation should be > performed only once since the query does not change, just the argument. > You're right. Do you want to provide a patch? -- Vishesh Handa _______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
