I'd like to exclude all folders based on a pattern. I've tried to add to the config the followings – one at a time – without getting any result: exclude folders[$e]=node_packages exclude folders[$e]=*node_packages* exclude folders[$e]=$HOME/Projects/*/node_packages/* exclude filters=node_packages exclude filters=*node_packages* Having many projects that use npm I have literally millions of files that are getting indexed but that I don't care, and every time I upgrade them (by using yarn upgrade, which deletes all folders and recreate them) I have baloo indexing them all again. It'd be very useful to be able to exclude all node_packages folders from the indexing.
I have the same problem. I work with alot of nodejs and NativeScript projects, both results in alot of files being indexed that shouldn't be. My desktop becomes unusable when the baloo indexer is runnning, everything just hangs. So I had to disable it.
I have the same problem on KDE Neon. I have large number of differen build folders for different projects. They area usually called build-project_name-something, and I have to manually specify each of them to stop baloo from indexing them during building or testing.
FWIW, you guys should appreciate https://phabricator.kde.org/D12787.
Awesome, thank you Nate! Hopefully Baloo will work better now :)
Git commit 7529727e46242d2fdd71c4e8c92363600373fcb6 by Nathaniel Graham. Committed on 15/05/2018 at 22:33. Pushed by ngraham into branch 'master'. Ignore more types of source files Summary: Add more types of development-related files to the exclusion lists. These files aren't useful to index, and having them there can bog down Baloo. Related: bug 394002, bug 390932 FIXED-IN 5.47 Test Plan: Created a bunch of files of the newly excluded types. Baloo didn't index them. Reviewers: michaelh, bruns Reviewed By: bruns Subscribers: broulik, cfeck, kde-frameworks-devel, #baloo Tags: #frameworks, #baloo Differential Revision: https://phabricator.kde.org/D12787 M +37 -5 src/file/fileexcludefilters.cpp https://commits.kde.org/baloo/7529727e46242d2fdd71c4e8c92363600373fcb6
(In reply to Nate Graham from comment #5) > FIXED-IN 5.47 I notice that node_packages appears in the exclude filters list... Maybe it got added somewhere along the way. It does seem to prevent indexing of files within a "node_package" folder.... I think it's now reasonable to close this one :-)