[Kde-pim] Akonadi Nepomuk Email Searching
laurent Montel
montel at kde.org
Sun Dec 9 11:55:25 GMT 2012
Hi,
Andris answers you about akonadi code
Code for searching is in searchwindow.cpp we use void
SearchWindow::slotSearch().
And we use code from mailcommon:
searchpattern.cpp
We use:
void *addQueryTerms( Nepomuk2::Query::GroupTerm &groupTerm ) const
We create query in theses functions.
Le samedi 8 décembre 2012 23:58:28 Vishesh Handa a écrit :
> Hey Laurent
>
> Over the last couple of weeks, I've slowly started learning more about
> Akonadi, and I've started using it. The good/bad news is that I have
> started experiencing all the issues people complain about, so hopefully I
> can fix them.
>
> I tried to search for an email using kmail, and it worked out fine.
> However, I notice that kmail remembers some of the searches that were
> performed.
It’s in akonadi as andris told you.
> I know it uses the QueryServiceClient for this, I however cannot
> find the relevant code. Could you perhaps point me towards it?
>
> The way the QueryServiceClient is used is bad, cause we (Nepomuk) land up
> re-running the query each time an email is indexed. That makes virtuoso
> consume more cpu.
I hope that it will help you.
Regards
>
> --
> Vishesh Handa
--
Laurent Montel | laurent.montel at kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list