[Kde-pim] Porting StdAddressBook to Akonadi does not work as Akonadi::ContactSearchJob returns no results

Vishesh Handa me at vhanda.in
Tue Feb 12 04:18:56 GMT 2013


Hey Cristian

On Wed, Feb 6, 2013 at 1:33 PM, Cristian OneČ› <onet.cristian at gmail.com>wrote:

> Since I suspect that there is something wrong with my setup (KDE 4.9.5
> on Gentoo) I've searched for similar issues and found that KMail's
> auto completion does not work either [2].
>

Do you think you could try out KDE 4.10?

The Akonadi Contact search in Nepomuk had some fairly pathological queries
in the 4.9.x series. This has improved considerably in the 4.10 series.

@Till: Do you think we can backport this?

commit c37f8d7023c3e486762af0379e36708d7eb99cea
Author: Till Adam <adam at kde.org>
Date:   Tue Jan 22 18:31:37 2013 +0100

    Use a faster contains expression for "start of word" matches.

    For the special case of address completion, we are really only
    interested in matching at the start of various parts of the name, first
    name, email, etc. So for that case, use bif:contains('foo*') rather than
    the much more expensive regexp match. Speeds up addressee completion
    something fierce for a minor loss in functionality, namely arbitrary
    substring matching.



-- 
Vishesh Handa
_______________________________________________
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