Re: [Tracker] searchfs
- From: Adrien Bustany <abustany gnome org>
- To: <tracker-list gnome org>
- Subject: Re: [Tracker] searchfs
- Date: Tue, 28 Jun 2011 14:41:19 +0300
On Wed, 22 Jun 2011 16:53:23 +0200, Mariusz wrote:
Hi.
Recently I've created simple FUSE filesystem, presenting search
results as symlinks to matching files:
https://mrk-sandbox.googlecode.com/hg/searchfs/searchfs.py
Usage:
Mount FUSE filesystem at some mountpoint, /search for example (rw
access to this dir is required)
python searchfs /search
and perform some query:
cd /search/some/search/terms/
ls
This code is proof of concept only, real program should use tracker
api instead of 'tracker-search' call probably :)
Hello Marius
if you use pygi, you can use libtracker-sparql directly from python.
That should be way faster than calling tracker-search
Cheers
Adrien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]