Search in Dolphin No Longer Works

I don’t know when this started (it used to work), but searching in Dolphin no longer works. No matter what I search for or where, it finds nothing. I’ve gone through the settings in Dolphin and in File Search, and everything looks good.

I’d appreciate it if someone would do a search or two and let me know if it works there.

EDIT: Also, in File Search (setting up indexing), it keeps duplicating the /home/[username] folder. I’ve now got 3 instances of it there. The last one is not indexed. But, if I tell it to index it and go away, when I come back, there’ll be a new entry that’s not indexed.

EDIT 2: From what I’m able to find, KDE is supposed to use Baloo for indexing. According to the wiki:

“Entering the command balooctl check in a terminal should make Baloo search for unindexed files and index them.”

But, entering that in terminal gives me:

balooctl check
bash: balooctl: command not found

EDIT 3:

More searching suggested balooctl6 instead of balooctl. That seems to work:

balooctl6 status
Baloo File Indexer is running
Indexer state: Idle
Total files indexed: 38,353
Files waiting for content indexing: 0
Files failed to index: 100
Current size of index is 693.20 MiB

I’ll try messing with that for a bit.

use the baloocl6 command
I had a similar issue with file search and krunner showing stale results; these are the commands I used

  • Add the actual path to the home folder and purge the index in Baloo and KRunner.
kwriteconfig6 --file baloofilerc --group General --key "folders" "/var/home/user"

balooctl6 suspend
balooctl6 purge

#Optional, stop krunner, delete cache and restart
kquitapp6 krunner 
rm -rf ~/.cache/krunner*
nohup krunner >/dev/null 2>&1 & disown

Thanks for the response. I used the following to reset the indexes:

balooctl6 disable
balooctl6 purge
balooctl6 enable

and that got things working again (quite a few indexing problems showed up, but that’s acceptable).

Regarding the issues with /home/[username], it looks like that shouldn’t be indexed (I guess that’s why it defaults to Not Indexed). So, in the indexing options, I reset to the defaults and went through the disable, purge and enable bit again. Then, I just manually added the one other folder that I needed. Everything seems to be working fine now.

EDIT: There was one error message during re-indexing in the terminal that was worrisome:

qt.qpa.services: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.baloo’”)

I have no idea if that’s something I should open an issue report on (or where: Bazzite or KDE).

It seems like a KDE issue rather than Bazzite.

Baloo is a system package for me rather than flatpak; maybe that has something to do with it.

But if it works, great!