Re: [Tracker] Question on tracking changes..
- From: Sriram Ramkrishna <sri aracnet com>
- To: Jamie McCracken <jamiemcc blueyonder co uk>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Question on tracking changes..
- Date: Thu, 10 Aug 2006 10:48:21 -0700
On Thu, Aug 10, 2006 at 09:51:14AM +0100, Jamie McCracken wrote:
Sri Ramkrishna wrote:
So I'm working a bit on a rhythmbox backend using tracker. I want to
know when tracker has detected a new music file. Is there some kind of
DBus signal I can listen to for this? How would I do that?
not at the moment - I have disabled signals until we have live query
support.
OK. So for now, I'll have to just set it up so that it fills the database
and then worry about what happens afterwards.
With live query support you will be able to listen by filtering on the
live_query_id (usig dbus match rules) to get new hits and also deletes
for any particular query (any dbus method that has a live_query_id
parameter)
Sounds good.
Implementing live query support is not hard but I am doing structural
changes at the moment and would like to get these completed before
adding new stuff.
Cool, no doubt a good foundation is a requirement before adding new
stories using a building analogy. :-)
I am experimenting with replacing mysql's fulltext stuff with a much
faster and more scalable hash table using the super fast QDBM
(http://qdbm.sourceforge.net/spex.html). As Hash tables are O(1) in
performance it means it will be super fast no matter how much stuff you
index and it also means I can add custom stuff like stemming and custom
ranking.
Gotcha ..
If above is successful it could also pave the way to replace mysql with
the lighter and faster sqlite (as we are only using mysql for its full
text support)
I fully approve of that. But wouldn't you have to use two database
engines? Or can sqlite use QDBM somehow? SOrry I haven't looked at the
link as of yet.
sri
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]