Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 22700 ideas, 138270 comments, 2629576 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #29126: Improvements for the dash-search

Written by petko10 the 17 Jan 12 at 22:33. Related project: Unity. Status: New
Rationale
The dash search does not have indexing options - why is this a problem ? Well that means it's not a fully functional search tool , but a helper to browse through recent files .
There is potential to change that , and I think that this functionality is a must-have for a good OS , so I propose we fill up that potential .
Tags: (none)

-4
votes
up equal down
Solution #1: Make the search catche all the internal devices
Written by petko10 the 17 Jan 12 at 22:33.
Upon installation or right thereafter the fixed mount point devices (NOT random removable media,etc..) should be scanned and catched , so that the dash could be used to do a full search for files (because now it's just silly , to search in some recent files- not useless , but not fully functional) .
To make this option better - there should be a simple configuration of folders to include or exclude of scanning . And also a rescan option .
17
votes
up equal down
Solution #2: Just add indexing options (set folders and recheck)
Written by petko10 the 19 Jan 12 at 07:25.
Since in the past there were problems with indexing everything I propose having a simple configuration of the search - a menu in System settings to set folders to be indexed and to order rechecking .
-3
votes
up equal down
Solution #3: connect with locate
Written by gleedadswell the 24 Jan 12 at 01:16.
I realize that the command line locate command isn't always ideal for this, because when the files are changing a lot the user would need to run updatedb repeatedly, which often isn't an option because it requires super user privileges. Could a limited updatedb, that only scans inside the user's own directories, be made available to the user. Then have the dash-search able to run this limited updatedb and to run a locate, perhaps as an alternative to the current search function?
1
votes
up equal down
Solution #4: Use built-in efficient file watch
Written by PaddyLandau the 24 Jan 12 at 17:32.
Once the database has been updated, setting inotify (or incron or equivalent) to watch for changed files is efficient. The database does not have to search for changes, but instead will respond to changes when they happen.

The database need search for changes only if the partition has been changed by something when the database has not been active (e.g. when using a Live CD or after using Recovery mode).

This gives you the best of both worlds: comprehensive, always up-to-date, and fast.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
cheesehead (Brainstorm admin) wrote on the 18 Jan 12 at 04:21
A few years ago, Beagle and Tracker both tried the approach of indexing everything. Both caused unexpected heavy I/O activity and CPU overhead, and many complaints of sluggish responsiveness...especially when the it tried to immediately index an entire USB drive every time it was plugged in.

It was this shortcoming of the index-everything approach that led directly to the development of Zeitgeist's current approach.

petko10 wrote on the 19 Jan 12 at 07:22
OK , I'll post a second solution , I'll be curious to get your opinion on it as well. (and btw that's why I mentioned "internal devices" and fstab - because I meant only those areas with fixed mount points that would normally be indexed just once for an installation)

cheesehead (Brainstorm admin) wrote on the 19 Jan 12 at 18:10
Approving for 30 days to help refine the idea.

PaddyLandau wrote on the 20 Jan 12 at 17:18
Solution #2 is OK, but I think it should be off by default, so people have to opt in.

petko10 wrote on the 20 Jan 12 at 21:29
I agree that the default options should be as they are now , but it would be nice to be able to extend the search , or recheck.

petko10 wrote on the 24 Jan 12 at 18:00
For solution 4 : I'm pretty sure it already does that


Post your comment