Bug 333020 - No way to index directories off root via UI
Summary: No way to index directories off root via UI
Status: RESOLVED INTENTIONAL
Alias: None
Product: Baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-03 13:02 UTC by Blackpaw
Modified: 2015-09-06 21:20 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blackpaw 2014-04-03 13:02:08 UTC
Baloo auto indexes the contents of $HOME and sub directories by default. Other entries in fstab are added to a black list by default, but can be removed (and hence indexed) via the Systems Settings "Desktop Search" UI.

However any user data directories that are on the root mount are not indexed by default, and cannot be specified for indexing via the UI.

They can be manually added by editing  baloofilerc, and are indexed after that.

Reproducible: Always

Steps to Reproduce:
1. Create a root data directory, e.g /data2
2. Add a document file to this directory, e..g balootest.txt, with some unique content
3. Search for the file with baloosearch, e.g "baloosearch balootest"

Actual Results:  
No results will be returned.

Expected Results:  
/data2/balootest.txt

Editing the ~/.kde/share/config/baloofilerc file and adding:

  "folders[$e]=/data2/,$HOME/"

will give the desired results. Users shouldn't have to do this though.
Comment 1 Laurent Montel 2014-04-03 14:21:04 UTC
? why did you assign to kmail ?
Comment 2 Paul Worrall 2014-04-07 18:44:01 UTC
I agree.  Folders for files shared with other users may not be under $HOME but users might like to be able to index them.
Comment 3 Vishesh Handa 2014-04-22 14:35:06 UTC
This is not something I'm going to be fixing in the main KCM. It's a very very edge usecase. Please feel free to edit the config file directly.
Comment 4 Felix Miata 2015-09-06 21:20:54 UTC
This doesn't seem edgy to me. /home is for homes, not places like /data, /pub or /media.