After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777431 - [IMAPx] Gmail's BODY search returns only whole word matches
[IMAPx] Gmail's BODY search returns only whole word matches
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 770457 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-01-18 08:19 UTC by Milan Crha
Modified: 2017-01-20 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2017-01-18 08:19:29 UTC
As reported in bug #576184 comment #8:

Using 3.22.3 on Ubuntu 16.10 AMD64; I have all messages sync'd locally.  I'm searching for the term "optic", with scope "Message contains".  The search is finding this word in some emails, but not in others.  Here is my best guess at what is happening.

Evolution appears to be searching for partial text on the subject.  It is finding subjects like this: "ThinOPTICS Always With You Lifetime Guarantee Activated".  This email has no instance of "optic" in the body, but it does in the recipient email address.

It is NOT finding several emails with subject "New reply: Unreliable Search" and with this phrase in the body: "the search should be text:optics."  However, if I change the search term to "optics", then these emails ARE included in the search results, and when I select one of them, the text "optics" is highlighted.

I'm concluding from this, perhaps erroneously, that searching for partial text is not being done on the body, but only full word search.

--------------------------------------------------------------------------------

I was able to reproduce with a Gmail server, but not with a Dovecot server.
Comment 1 Milan Crha 2017-01-18 10:26:08 UTC
Created commit a268ea9 in eds master (3.23.90+)
Created commit 9789a30 in eds gnome-3-22 (3.22.5+)
Comment 2 Milan Crha 2017-01-20 14:56:31 UTC
*** Bug 770457 has been marked as a duplicate of this bug. ***