Bug 340409

Summary: Dolphin "Find" feature doesn't find internal substrings in filename
Product: [Unmaintained] Baloo Reporter: S <sb56637>
Component: GeneralAssignee: Vishesh Handa <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: emmanuelpescosta099, lueck
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description S 2014-10-27 20:47:26 UTC
Hello,

I have Baloo search enabled, but Dolphin can't find substrings in filenames. For example "example_document_1.odt" is not found by searching for "document" in Dolphin. If I search for "example_doc" is does find it, however. This behavior conflicts with the documentation:
https://docs.kde.org/stable/en/applications/dolphin/quick-tips.html
"The search is case insensitive, and does not require surrounding wildcards (*foo* and foo are equivalent)"
Incidentally, using wildcards (*document*) also does not work.

Thanks for looking into this.

Reproducible: Always
Comment 1 Emmanuel Pescosta 2014-10-29 14:50:24 UTC
Thanks for the bug report!

The filenamesearch ioslave checks if the filename contains the pattern.
I agree that other search ioslaves should do it as well.

I'll reassign it to Baloo.
Comment 2 S 2014-10-29 20:07:51 UTC
Thanks for taking a look!
Comment 3 Vishesh Handa 2014-10-30 05:53:25 UTC
With Plasma 5.1, Baloo searches through substrings with _ better.

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