> >>   c) Tracker should support returning collation keys of the result set of
> >> a query, like enabling a new tracker:collate() method in SPARQL.
> >
> > I wonder if instead of this we could just expose our collation methods
> > in libtracker-sparql API for example...
> 
> Do you have an example of how this API would look?
> 

As already explained in a previous email, we won't currently publish any
collation function, although things may change if we ever decide to
support additional collation methods, like the title collation. Anyway,
the API could be something like this:

http://git.gnome.org/browse/tracker/tree/src/libtracker-data/tracker-collation.h?h=collation

This is, a pair of init() and deinit() methods to initialize a collator
object (needed if using libicu) plus the collation function.

Cheers,

-- 
Aleksander

_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to