Bug 426472 - search contains results not matching the criteria
Summary: search contains results not matching the criteria
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: search (show other bugs)
Version: 5.15.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-13 11:38 UTC by grannie
Modified: 2024-11-13 11:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grannie 2020-09-13 11:38:55 UTC
i have a search folder with some specific folders.
The criterion is: message status is not read

The search folder contains a lot of emails that are read.

Furthermore: when i click search, a window pops up asking to reindex some of the folders - but everytime!

Is there an indexing problem?
Doesnt help if I manually click "reindex" within the folder properties either
Comment 1 grannie 2020-10-23 07:49:00 UTC
Any idea on how to investigate the problem further?
Comment 2 grannie 2021-04-21 05:40:06 UTC
The error persists...
Comment 3 Jure Repinc 2024-11-13 11:48:55 UTC
Looks like there are several problems with searching. And not only within the search folder. Even in search dialog, and in search toolbar that is above the messages list. For example in search dialog I try to search in header for List-Id and set the criteria to include some string and it looks like the string is not used verbatim as a whole, it looks like it is broken into "words" from the search string (e.g. "some.mailing.list" is broken into "some", "mailing", "list") and then the search matches if any of the separate word is matched. And I have a feeling it is also not limited juts to List-Id header field but it searches entire message for a match.

KMail version: 6.2.40 alpha (24.11.40)
Operating System: openSUSE Tumbleweed 20241106
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-2-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 GRE