A lot of my documents have names that are unique as a filename but appear as strings inside many other documents. This makes finding them actually harder, which is why I switched a long time ago from desktop search to fsrunner (https://code.google.com/p/fsrunner/) which seems to sadly no longer be developed. In addition, if there is no added functionality (for me personally) in full-text indexing, it is just wasting cpu and i/o (regardless of how efficient it gets). I just never find myself looking for where i wrote some string, and often want to quickly (in krunner) pull a file I know the name of. Not trying to harsh on the technology, just seems that the use case it was designed for is slightly different than mine, and it would be great if I could use a standard KDE technology rather than a third party add-on for the same function. Adding a config option seems to be pretty trivial according to this g+ thread: https://plus.google.com/u/0/+JosPoortvliet/posts/VjWHdC1H6AD?cfem=1 Reproducible: Always Steps to Reproduce: 1. Open System Settings 2. Click on Desktop Search 3. Look for an option to disable full-text indexing while still indexing filenames Actual Results: No such option exists Expected Results: Having an option to toggle that
For anyone interested in solving this bug, you need to edit the basicindexingjob.cpp in baloo, and always set the indexing level to 2, if a certain option is enabled in a config file. Marking this a junior job.
Review request added https://git.reviewboard.kde.org/r/119789/
Git commit 90c0f9829c80b361dbd7c8ecc3c3e169b49f3664 by Vishesh Handa, on behalf of Pinak Ahuja. Committed on 25/08/2014 at 11:28. Pushed by vhanda into branch 'master'. File: Add an "only basic indexing" option This allows the few users who do not want to index the contents of the file to configure Baloo to not do that. It's a hidden option you need to manually add in the general section of the baloofilerc file. REVIEW: 119789 M +7 -1 src/file/basicindexingjob.cpp M +3 -1 src/file/basicindexingjob.h M +1 -1 src/file/basicindexingqueue.cpp M +1 -1 src/file/extractor/app.cpp M +6 -0 src/file/fileindexerconfig.cpp M +3 -0 src/file/fileindexerconfig.h http://commits.kde.org/baloo/90c0f9829c80b361dbd7c8ecc3c3e169b49f3664
Hidden options are bad! For who is wondering, in order to activate this add the following line to ./.config/baloorc [General] only basic indexing=true To the developers: this option should be added commented out in the default baloorc installed on the system, to make the life easier to those who want to use it. Moreover, for me, a checkbox to enable it should also be added to the UI configuartion dialog.
Oh well. Apparently the check box is there! Sorry for the fuss.