Re: beagle folder support



Hi Nagyon,

I have two questions:
- Is there any option to refine the search?
That is, not to search the whole home directory but a given one?
I would find this very useful, and if it is not implemented yet,
then please regard this as a feature-wish.

(I think there is a FAQ entry in the website on this)
No it is not possible to do that using any API. Searching _in_ and
_under_ (i.e. recursively) a directory is not technically possible
(read: feasible) (though searching all in files in a directory is
possible, but no one seem to require that). However, there is a hack
to try this, any frontend can retrieve all the results and remove the
results with filepath outside the directory.

- Is there a server-side option? So 10 workstations
dont have to index the common working directories 10 times,
just to forward the query to beagle running on the server.

There is no such feature readily in beagle but it is possible in a
variety of ways. Search the mailing list archives, they show up time
to time. Most of the methods are variant of: build the index on the
server and export it on nfs/cifs/... Then start beagled in query mode
(--disable-scheduler --backend Files) in clients to search beagled.
There are tricks needed and some people see bugs regarding locking,
shared sqlite db file etc. I think some beagle users have tried this
kind of setup and might be able to tell you more.

The other approach is use to network beagle (beagle server that
clients can query over tcp/http) - last year there was a SoC project
on that. The code is lying semi-merged in a branch but I haven't time
to merge it fully. If anyone is interested, I can provide the details.

- dBera

--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user



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