Re: [Tracker] URI support
- From: Jamie McCracken <jamie mccrack googlemail com>
- To: Jürg Billeter <j bitron ch>
- Cc: Tracker mailing list <tracker-list gnome org>
- Subject: Re: [Tracker] URI support
- Date: Tue, 18 Nov 2008 08:48:45 -0500
On Tue, 2008-11-18 at 13:55 +0100, JÃrg Billeter wrote:
Hi,
Tracker currently uses a mix of local file paths and URIs and they are
used in different encodings and sometimes split into dirname and
basename and sometimes not. I've been working on the uri branch in SVN
to clean up the confusion.
The Path column in the Services table has been replaced by a Uri column
which stores the full URI, not just the dirname as was the case before.
The Name column stays the same but is not used anymore to identify a
service. To accommodate the database changes, I had to increase the
database version, which means that Tracker will perform a reindexing.
Functions in libtracker-data that had dirname and basename parameters
now have a uri parameter as they are not only used for files.
pls restore path and name (and composite index on the two) in db - we
need this so we can quickly find files in a particular folder.
that was the only reason they were split up like that in the db
also would be very difficult to find files in a directory excluding
subdirectories if we just stored URI and not path/name
jamie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]