Bug 46271 - IMAP: full text search
Summary: IMAP: full text search
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 66126 66729 78611 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-08 19:18 UTC by gerd
Modified: 2007-09-14 12:17 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of kmail (155.55 KB, image/png)
2005-01-08 07:02 UTC, Mathieu Jobin
Details
i get this error at every folder click, once you have a saved search. (16.99 KB, image/png)
2005-01-09 07:09 UTC, Mathieu Jobin
Details
i get this error a little less often (15.50 KB, image/png)
2005-01-09 07:32 UTC, Mathieu Jobin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerd 2002-08-08 19:05:19 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           KDE 3.0.2 
Severity:          wishlist
Installed from:    Compiled From Sources
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

It would be great if kmail would support a full text search through the body of all mails for IMAP servers.

IMAP has server-side support for this using the SEARCH command. some servers (e.g. cyrus) also have a server-side indexing feature (squatter) to improve search speed.

Please also add support for the SEARCH REGEX extension.

And while you are at it: please improve searching further. n search clauses groupable by ( ) and AND OR XOR would be nice too.

I won't mind if this would mean deviding the interface into a standard and expert interface e.g. leaving the experts with a search-engine like commandline or sql-like commands.

Thank you very much. Otherwise kmail is great.


(Submitted via bugs.kde.org)
Comment 1 Marc Mutz 2002-08-08 22:12:00 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 08 August 2002 21:05 gerd@deam.de wrote:
<snip>
> And while you are at it: please improve searching further. n search
> clauses groupable by ( ) and AND OR XOR would be nice too.

XOR??? You're joking right?

But the rest is already planned since ages. Originally the filter=20
search criteria were meant to also be used there. But they themselves=20
are now subject to a major rework (oops don't let anyone hear that=20
we're in a feature freeze ;-). I guess this stuff will be included=20
then. Thanks for reminding me of the IMAP case.

> I won't mind if this would mean deviding the interface into a
> standard and expert interface e.g. leaving the experts with a
> search-engine like commandline or sql-like commands.
<snip>

SQL?
tztztz....

Marc

Mutig warf sich die kleine =DCberwachungskamera zwischen T=E4ter und Opfer!
                                          --Rena Tangens / FoeBuD e.V.
- --=20
Marc Mutz <mutz@kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Uuyw3oWD+L2/6DgRAkLdAJ494QmqxhGuvE5eimmyExeoUwbq9wCg3RGp
92wK00so2tVpS/pASXk2h+0=3D
=3DKwsE
-----END PGP SIGNATURE-----
Comment 2 gerd 2002-08-08 22:31:23 UTC
> > And while you are at it: please improve searching further. n search
> > clauses groupable by ( ) and AND OR XOR would be nice too.
>
> XOR??? You're joking right?

hey "normal" users won't use that anyway even the regex stuff. but why no=
t=20
making the logical operators complete if you are at it...

oh and don't forget < > <=3D >=3D (especially useful for dates). you co=
uld=20
make that even more useful by making "3 weeks ago" or "last year" and that=
=20
kind of stuff available ("-3w""-1d""-1y"...)

> But the rest is already planned since ages. Originally the filter
> search criteria were meant to also be used there. But they themselves
> are now subject to a major rework (oops don't let anyone hear that
> we're in a feature freeze ;-). I guess this stuff will be included
> then. Thanks for reminding me of the IMAP case.

nice to hear.

> > I won't mind if this would mean deviding the interface into a
> > standard and expert interface e.g. leaving the experts with a
> > search-engine like commandline or sql-like commands.
>
> <snip>
>
> SQL?
> tztztz....

I prefer having a nice graphical editor but won't mind just having a powerf=
ul=20
command line - as long as all features are there.

Thank you.

Regards

Gerd
Comment 3 Joaquim Homrighausen 2003-02-26 08:01:03 UTC
It would be very nice to be able to search the message body of messages located in IMAP folders. Overall, it seems like KMAIL has some very limited functionality when it comes dealing with IMAP folders; renaming, searching, filters, etc.
Comment 4 Michal Weis 2003-09-18 13:13:53 UTC
i would like just to give a reminder on this bug-report. as we are sharing
folders with collegues this way, windows users can search for content of the
e-mails, but I can't (we have some mail archive that way, which I can't use :-(
Comment 5 Stephan Kulow 2003-10-17 10:03:47 UTC
*** Bug 66126 has been marked as a duplicate of this bug. ***
Comment 6 Johannes Nieß 2004-04-04 12:20:52 UTC
Implemented in Kmail 1.6
Comment 7 Johannes Nieß 2004-04-04 16:56:01 UTC
*** Bug has been marked as fixed ***.
Comment 8 Till Adam 2004-04-04 19:24:03 UTC
I have to disagree. KMail 1.6 does still not search in IMAP bodies. I plan to implement it one day, though.
Comment 9 Tom Albers 2004-08-21 12:24:39 UTC
*** Bug 66729 has been marked as a duplicate of this bug. ***
Comment 10 earlgrey 2004-09-10 04:22:40 UTC
does http://lists.kde.org/?l=kmail-devel&m=109423996015916&w=2 fix this 
Comment 11 Carsten Burghardt 2004-09-10 09:06:42 UTC
Yup, implemented in HEAD.
Comment 12 Tom Albers 2004-09-17 00:11:11 UTC
*** Bug 78611 has been marked as a duplicate of this bug. ***
Comment 13 Mathieu Jobin 2004-09-17 00:36:12 UTC
its gonna be in 3.4, then ? 
Comment 14 Tom Albers 2004-09-17 09:24:20 UTC
Yes sir!
Comment 15 Mathieu Jobin 2005-01-05 19:37:20 UTC
got 3.4 cvs installed on my laptop, got a try this tonight....

Comment 16 Mathieu Jobin 2005-01-07 21:34:59 UTC
could the full text search be implemented in the search field for the current folder ?
you know, on top of the mails list, there is a quick search field that fielter on from/to/subject 

what about full text search from this field ?

Comment 17 Fred Schättgen 2005-01-07 21:59:58 UTC
I guess it won't be so easy, because the search field should be very fast.
If it is possible, it shouldn't be the default I guess. It could be configured with the well hidden settings in the context menu of the search bar.

To give the user an indication what the field currently searches for, it could show a string like "Search headers, from, date, body" in a light gray inside the search field if it is empty. Just like the song-search fields of amarok. The text gets removed if the field gets the focus. 

Listing what exactly is searched for could give a hint to the user that the search fields are actually configurable. And the "Search"-label to the left wouldn't be needed anymore, too. Since there are three switches already in the context menu, this makes sense even without the new search-body-feature.
Comment 18 Mathieu Jobin 2005-01-08 07:02:40 UTC
Created attachment 8984 [details]
screenshot of kmail

just tested the full text search using 

1.7.91 (KDE 3.3.90 (alpha1, CVS >= 20041206), Gentoo)

does not seems to find anything.

as you can see on the screenshot I have a mail with the word I am looking for
in the directory I'm looking in.

thanks but does not seems quite tested.
Comment 19 Mathieu Jobin 2005-01-09 07:09:49 UTC
Created attachment 8999 [details]
i get this error at every folder click, once you have a saved search.

i get this error at every folder click, once you have a saved search.
Comment 20 Mathieu Jobin 2005-01-09 07:32:21 UTC
Created attachment 9000 [details]
i get this error a little less often

i get this error a little less often, but quite easy to reproduce by just
clicking around....

I would not consider this bug as FIXED as it is not working....

about implementing the full text search in the quick search bar.... 
Mr Fred said it would not be easy because this quick search need to be fast....
well, just to let you know the Mail program shipped with Mac OS X does it in a
lightning....

regards,
Comment 21 Carsten Burghardt 2005-01-09 19:06:23 UTC
> i get this error at every folder click, once you have a saved search.

So your server has a problem with the search command. It would be good if
you could compile kmail and the imap4 kioslave (kdepim/kioslaves/imap4)
with --enable-debug=full and then send us the debug output from kmail
(which you get on the console) and the kioslave (which is in your stderr
so something like .xsession-errors) when you get this message.
Also when you do a search which does not return the desired result.

Thanks,

Carsten

Comment 22 Mathieu Jobin 2005-01-17 12:16:32 UTC
recompil current CVS and I can't reproduce.

never mind