Re: [Tracker] Inquiry into work required to support removable media





I will think about supporting multiple indexes in different places  - it
can affect performance though so need to be careful

currently only one index in home is supported

I've been very interested in having this functionality as well, but not so much in order to save space as for the mere fact of being able to plug in a USB stick or external hard drive and receive search results through tracker.
I imagine it would be easier to go about like this:

1) USB device is attached
2) Tracker retrieves the disk's UUID and starts indexing the content
3) When the disk is detached, the data is not erased from the database. Rather tracker-search does not return results from the mounted path if a disk with the corresponding UUID is not attached (this information, I presume, can be retrieved from hal).
4) next time the disk is attached tracker crawls it's filesystem.

The database can be kept in $HOME.
 
Even this approach (as opposed to the original suggestion) would result in a fantastic feature. However, I'm no programmer and there might very well be technical problems with this approach that makes it unviable.

Regards,
K.

jamie






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]