Bug 326399 - mail search not possible if indexing is off
Summary: mail search not possible if indexing is off
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 4.11.2
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-21 18:37 UTC by Christoph Thielecke
Modified: 2014-01-16 16:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Thielecke 2013-10-21 18:37:18 UTC
Its not possible to search for mails in folders (maildir) if indexing is disabled. This is NOT acceptable.

Reproducible: Always

Steps to Reproduce:
1. Create maildir
2. fill in a lot of subfolders/mails
3. turn indexing off
4. try to search in this mail folder
Actual Results:  
stupid error message is shown:
"Sie haben die Volltextindizierung von E-Mails ausgeschaltet. Die Suche ist ohne dieser nicht möglich. Sie können sie in den Systemeinstellungen einschalten. Bemerken Sie, dass die Suche erst nach einer vollständigen Indizierung Ihrer E-Mails möglich ist, die einige Zeit in Anspruch nehmen kann."

Expected Results:  
Searching for mails (slower than indexed mail folders)
Comment 1 Laurent Montel 2013-10-22 05:03:13 UTC
"This is NOT acceptable." it's acceptable :)
So it's not a bug and will not fix.
Regards.
Comment 2 Christoph Thielecke 2013-10-22 15:00:30 UTC
Wrong. Its stated as bug because it is one. Please fix these nasty bugs
Comment 3 Laurent Montel 2013-10-22 16:16:45 UTC
Will not.
It's not a bug for me, you disable indexing so no search that's all.
Comment 4 Christoph Thielecke 2013-12-15 11:00:13 UTC
Search is still not possible in 4.12beta3 when indexing is off. There good reasons on some cases to turn the indexing off:
- slow cpu
- small memory
- very large maildir/mbox dirs
- search with index does not work correctly
- one or more sub dirs not indexed yet

If a search from user is really requested, then traditional folder search should be processed, even its slower. This behavior is also implemented in the windows os, search always works transparently, even the resource is not indexed.

I think the tradional search should be also available.
Comment 5 Martin Ward 2014-01-16 11:57:57 UTC
After sending mail and receiving mail, searching mail is the single most important feature of a mail client.

It should not be dependent on a buggy, resource-intensive desktop search system:
this system is currently not working for me (see bug 324189), so it would be nice to have a fallback
where I can turn off desktop searching and still be able to seach emails.
Comment 6 Laurent Montel 2014-01-16 16:34:59 UTC
As I told you if you disable it you will not have search.
IF you disable X11 kmail will not work too and for you it's not a bug no ?:)
So for me it's not a bug.
=> invalid
Comment 7 Christoph Thielecke 2014-01-16 16:49:32 UTC
> As I told you if you disable it you will not have search.
This is definitly a problem to depend a search on indexing. There good reasons for disable indexing (large maildir, system load). Search on demand (for search in a specific subfolder and it subfolders makes sense.

For me, searching mails through in a folder using the lineedit quick search works and searching the index not (only partly result, mail index is still completed).

Also, microsoft got the clue that search only the index is not useful and provide fallback for searching files/folders if not indexed. 

Please think about to provide a fallback search without searching the index.
Comment 8 Martin Ward 2014-01-16 16:58:27 UTC
Search is a different concept to index: although an index can make searching fast, it is not essential.

Would you be happy if grep stopped working because you hadn't indexed the files in the directory you were running it on?

Currently, searching is not working for me even with indexing turned on.
I have to fire up thunderbird if I want to search my emails!