[Akonadi] [Bug 393280] Repeated entries of 'Executing search "kontact-476707713-SearchSession"' in Akonadi log

Daniel Vrátil bugzilla_noreply at kde.org
Wed Sep 19 11:08:15 BST 2018


https://bugs.kde.org/show_bug.cgi?id=393280

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
                 CC|                            |dvratil at kde.org
     Ever confirmed|0                           |1

--- Comment #3 from Daniel Vrátil <dvratil at kde.org> ---
Whenever something changes in Akonadi we need to re-run persistent search
queries to update the content of the "Search" folders in KMail, because
currently there's no other way to figure out whether the new email matches the
search filter or not (it's not run on every single change, but it is scheduled
to run in about a second after the first change).

If the query affects many collections or has many results (like in your case,
10219), it can hinder the performance.

A workaround is to remove the persistent search folders from KMail (which
sucks, I know...)

Proper fix, of course, is for me to figure out how to match a single email
against the search query so we can evaluate it on per-email basis instead of
having to re-run the entire search query every time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list