Re: Beagle with offline content


>  However, when I try to search anything on the disk, using either beagle-search or beagle-query,
> it only works when the usbdisk is mounted. When the disk is not mounted I have NO result.
I guess it is checked that the file still exists and hasn't been
removed after building the index.

Stephan is right. The static index is designed to check if the file
exists before returning the result.

BuildIndex can be tweaked easily to do what you want. In fact, one of
the branches has an implementation which uses the above procedure to
index removable indexes. It was never merged to the trunk because it
does not handle all the other cases and more importantly time to time
I hear someone willing to implement a general purpose removable media
indexer. (There are a few GSoC proposals in that direction).

But with the current implementation, you cannot search unmounted static indexes.

- dBera

Debajyoti Bera @
beagle / KDE fan
Mandriva / Inspiron-1100 user

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