[Nepomuk] [Kde-pim] Support for efficient searching in akonadi (e.g. by UID)

Kevin Krammer krammer at kde.org
Thu May 16 14:58:36 UTC 2013


On Thursday, 2013-05-16, Christian Mollekopf wrote:
> Hey,
> 
> The two primarily used standards for PIM data, vcard and ical, both assign
> a globally unique UID to each object, and naturally make references based
> on them.
> 
> Searching an item by UID, e.g	. to resolve such a reference, currently
> involves parsing the payload of each item to extract the UID, which is
> very inefficient.

No, it is possible to directly search for UID.
E.g. see Akonadi::ContactSearchJob Criterion ContactUid

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130516/423088df/attachment.sig>


More information about the Nepomuk mailing list