Re: [Tracker] tracker 0.10.37: Vala binding for tracker-client uses deprecated C functions



On 09/02/12 09:52, Mildred Ki'Lya wrote:
Hi,

Hello,

I'm still using tracker 0.10.x, perhaps I shouldn't; But I still have a
miner-fs plugin developped when at the 0.8 times that i need.

Basically, i'm running a very simple query that takes about 1 second to
complete when I use the command-line tracker-sparql, but when I use the
tracker-client vala API, it takes forever, and times out on dBus. in
this case, the tracker-store complain that the client exited early. When
I am using tracker-sparql, i get nothing in the tracker-store log file.
I am assuming that tracker-sparql directly queries the sqlite database.

Yes. You can affect this directly with TRACKER_SPARQL_BACKEND:

http://developer.gnome.org/libtracker-sparql/unstable/tracker-overview-environment-variables.html

- the Vala API uses the C function tracker_resources_sparql_query (which
is deprecated)
- the tracker-sparql program uses tracker_sparql_connection_query

What do you recommend ?

The later.

I would also suggest you upgrade to 0.12 if possible, we're not far off 0.14 releases.

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.



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