This forum has been archived. All content is frozen. Please use KDE Discuss instead.

baloosearch filename fails to find pattern in word

Tags: baloo, dolphin, filename baloo, dolphin, filename baloo, dolphin, filename
(comma "," separated)
fwillo
Registered Member
Posts
1
Karma
0
Hey there,

I'm experiencing a problem with baloosearch, first experienced in dolphin. When searching for a pattern, the pattern is only recognized when occuring in the beginning, but not in the middle or the end of a word. I want to present the following minimal example:
Code: Select all
[user@machine ~]$ mkdir ~/test

[user@machine ~]$ cd ~/test

[user@machine test]$ touch testFile TestFile DefaulttestFile DefaultTestFile

[user@machine test]$ tree ~/test
/home/user/test
├── DefaulttestFile
├── DefaultTestFile
├── testFile
└── TestFile

0 directories, 4 files

[user@machine test]$ balooctl index *
Indexing /home/user/test/DefaulttestFile
Indexing /home/user/test/DefaultTestFile
Indexing /home/user/test/testFile
Indexing /home/user/test/TestFile
File(s) indexed

[user@machine test]$ baloosearch -d ~/test test
/home/user/test/testFile
/home/user/test/TestFile
/home/user/test
Verstrichen: 559,765 msec

[user@machine test]$ baloosearch -d ~/test filename:test
/home/user/test/testFile
/home/user/test/TestFile
/home/user/test
Verstrichen: 0,180896 msec

[user@machine test]$ baloosearch -d ~/test file
Verstrichen: 99,807 msec

[user@machine test]$ baloosearch -d ~/test File
Verstrichen: 0,266703 msec


In https://docs.kde.org/stable5/en/dolphin/dolphin/quick-tips.html it is stated that no wildcards are necessary because these are assumed already. However in my minimal example baloosearch is not finding DefaultTestFile nor DefaulttestFile, which containg the pattern test. I'd have expected this. What am I doing wrong or what can I do in order to get this working, favourably with dolphin? Or is something goofy going on here?

Best,
fwillo

EDIT: I supplemented the terminal output with some lines for the sake of completeness.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]