12
Using fd vs indexed searches (baloo)
(lemmy.world)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Yep, I really don't understand why people use baloo without content indexing...if you do that other means like your fd or even mlocate will probably be better solutions if all you need is filename search. KDE integration is really the only advantage left then...and I don't really see much need of creating bookmarks/folderviews with filename searches, you hardly ever have reoccurring searches for the same filenames.
Baloo only makes sense to use with content indexing in my view...and there it hardly has any equal. I personally can't be without this feature anymore. I use it actively since KDE4 days (anyone remembering nepomuk?) and my whole workflow is built on it.
I would love to have content indexing with full text search in files and emails. I used to run namazu / notmuch mail to index it (back when I would fetch it using offlineimap). But sadly my mail lives on an IMAP server now and isn't searchable locally. And Baloo was simply taking too long to index all my files.
I'm really surprised that an indexed search takes roughly as much time as a directory search. I guess it shows how much the filesystem and tools have evolved... back in the day, a full tree search through even 10GB would be slow and noisy...