[Kde-pim] Initializing IndexPolicyAttribute

Kevin Krammer kevin.krammer at gmx.at
Sun Dec 4 13:35:43 GMT 2011


On Saturday, 2011-12-03, Will Stephenson wrote:
> I'm working on a couple of features to reduce the volume of mail
> that is indexed by default:
> 
> * Reduce the number of collections that are indexed by Nepomuk by
> default (drastically)
> * Add a dialog to multiple-select those to be indexed from all
> collections so people don't have to go through the maintenance
> folder properties tab for all folders.
> 
> #2 is the subject of http://git.reviewboard.kde.org/r/103318 and
> 103320
> 
> For #1, I am not sure where to set IndexPolicyAttribute to
> indexingEnabled=false on mail collections.
> 
> 1) In each mail resource as it fetches collections?
> 2) In KMail, as it knows which collections have special roles?
> 3) Some other central location that I'm not aware of
> 4) All of the above?

If the attribute's value would be "false" by default, you could probably set 
it somewhere in the special mail collections jobs.

> Assuming I have some policy like "index only sent-mail and inbox by
> default", what is the locus where whether a collection is a sent-
> mail or inbox is known?  I don't want to start playing guessing
> games based on the collection's name.

SpecialMailCollections (akonadi/kmime/specialmailcollections.h)

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/kde-pim/attachments/20111204/59c641fb/attachment.sig>
-------------- next part --------------
_______________________________________________
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