Bug 259098

Summary: [regression] Searching doesn't search
Product: [Applications] kmail2 Reporter: Thiago Macieira <thiago>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aspotashev, clemux, disp.reg.bugs.kde, mcv, smartins, winter
Priority: NOR    
Version: 2.0.89   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thiago Macieira 2010-12-07 12:01:13 UTC
Version:           2.0.89 (using Devel) 
OS:                Linux

When trying to search for messages in an Akonadi IMAP folder, nothing gets found.

Reproducible: Always

Steps to Reproduce:
1. Select a folder which has content
2. Press S, to open the Search dialog
3. Don't type any search terms, simply press Search

Actual Results:  
No messages are found

Expected Results:  
All messages should be found (there were no search terms)

OS: Linux (i686) release 2.6.35.2-server-1mnb
Compiler: gcc
Comment 1 Thiago Macieira 2010-12-07 12:01:36 UTC
May be related to Bug 259093
Comment 2 Thiago Macieira 2010-12-07 12:02:14 UTC
May be related to Bug 259093
Comment 3 Clément Schreiner 2010-12-12 20:03:32 UTC
Seconded. Searching doesn not work with my IMAP folders.
Kmail version 2.0.89 (well, all kde is 4.6 beta 2).
In case it is relevant, Nepomuk is activated, but I'm not sure it's working correctly (I don't remember exactly what use is nepomuk to akonadi/kmail).
Comment 4 Allen Winter 2011-04-11 16:10:40 UTC
adding as a showstopper
Comment 5 Sergio Martins 2011-04-15 17:11:43 UTC
Do you have nepomuk running ?
Comment 6 Thiago Macieira 2011-04-15 17:40:57 UTC
No. It consumes too much CPU time, in addition to what Akonadi already consumes, so I kill it.
Comment 7 Volker Krause 2011-04-16 18:36:21 UTC
In order to have a working search in KMail you need:
- a running Nepomuk server
- the mails you want to search in indexed by the akonadi_nepomuk_email_feeder (a recent Nepomuk and Soprano fixes an issue with massive CPU usage there, improving this from indexing 4 mails/min to ~1000 mails/min)
- an Akonadi server that supports the query interface version of your Nepomuk server (Nepomuk unfortunately is not very good in keeping interface compatibility), for a KDE 4.6 Nepomuk that means an Akonadi 1.5.1 or newer.

Searching without Nepomuk is WONTFIX.
Comment 8 Michał 2011-07-16 18:16:39 UTC
"~1000 mails/min" – that is 16 mails per second. I don't know what unnecessary work it does (syncing disks after each indexed word???), but it seems way too slow.

"Searching without Nepomuk is WONTFIX."

I just realized I need to start searching for another mail client.
Comment 9 Torgny Nyblom 2011-07-16 20:27:06 UTC

*** This bug has been marked as a duplicate of bug 223812 ***