Search by file rating

I rate my files using dolphins info panel its is very useful for sorting and organizing within large folders
Today came a day when i needed to find all 5 star rated files but i have no idea how that’s done with dolphin or kfind. Is there a way do to that? Does Baloo index rating metadata?

just add a column for rating in the details view and sort that way.

i dont know what folder that my needed file is located in so i need to search across my drive

using the search feature in dolphin has a ratings toggle and it will search subfolders below your starting point.

(Disclaimer: my interface is in French, so it may be different in English).

When you activate de search bar in Dolphin, click on the Filter button then choose the File Index radio button. Then you can select the rating you want to search.

Yes, baloo needs to be enabled.
The metadata is written to file … metadata.

You can script access to it.

getfattr -n "user.baloo.rating" my-file.txt
user.baloo.rating="8"

When the file my-file.txt has a 4 star rating, for instance.

getfattr -n "user.baloo.rating" *

Will output the files in the current folders that have ratings.