Hello! I have a problem with the Plasma search - when I search something from the Kickoff launcher , the displayed results are only the ones which files was initially created or placed into the directories. Anything that was recently placed or created is not displayed as a result. For example I have a document in /home/(user)/Documents/TrainSchedule1.odt which was placed there since the installation of the OS; Five days ago I received a new version of the document named TrainSchedule2.odt and I have placed it in the same directory. In Kickoff when I type TrainSchedule it gives me result only for the old one. It seems to me that Baloo does not reindex directories and does not do automatic reindex at all. Reproducible: Always
Hmm. Strange. Could you please paste your inotify limit? $ cat /proc/sys/fs/inotify/max_user_watches
Changing status to NEEDSINFO
cat /proc/sys/fs/inotify/max_user_watches returns 524288.
Practical example: I have ripped a music CD into /Desktop/New/Morgan Page - Believe/ (the 1st screenshot); After that I am searching for this folder from Kickoff - results are music from the same artist located in my /home/Music/ folders but not the one placed on the desktop. (the other screenshots).
Created attachment 96103 [details] the directory
Created attachment 96104 [details] results-1
Created attachment 96105 [details] results-2
By any chance are the new files missing from the result actually in /Desktop/ (and not /home/User/Desktop)? If that is the case add /Desktop in the included directories in /home/.config/baloofilerc
OK, why should I do that? Isn't /Desktop a subdirectory of /home? And doesn't Baloo monitor just everything?
Normally desktop is a subdirector of /home/username but since you explicitly wrote /Desktop (notice the slash in front) i thought you might have a special setup.
Could you run balooctl status <filename> on one of the files that doesn't show up in the results and paste the output?
@Pinak Ahuja I haven't any special setup - all is by default and my /Desktop is a subdirectory of /home - this is visible in the first screenshot with the file manager. I performed this command searcching 03 - Believe.flac in the 'problematic' folder. This is the output: File: /home/hotmusicfan/Desktop/New/Morgan Basic Indexing: Disbabled
That seems to imply the folder is somehow excluded. Could you post the contents of your ~/.config/baloofilerc
Created attachment 96209 [details] baloofilerc
exclude folders[$e]=$HOME/ This is your issue. You somehow managed to add the home directory to excluded folders. I recommend deleting the file and let baloo recreate it. Also just to be safe recreate your index: $balooctl disable $balooctl enable
Thanks! Now the display results are correct! But something remains: it is filled in this bug: https://bugs.kde.org/show_bug.cgi?id=356602 After deleting the baloofilerc file baloo created a new one (the last attached); but when you open 'System Settings' appears this: https://bugsfiles.kde.org/attachment.cgi?id=96033
Created attachment 96217 [details] baloofilerc - the new one
Update: it still does not show some folders in other locations... :/ What is the average time needed by Baloo to reindex all files?
Since the remaining issues are tracked by other bugs, let's close this one.