On 18/02/2008, Jamie McCracken <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-02-18 at 11:23 +0100, Mikkel Kamstrup Erlandsen wrote: > > On 17/09/2007, Anders Rune Jensen <[EMAIL PROTECTED]> wrote: > > > Hi > > > > > > I've been reading the Xesam Query Language specification and I have a > > > questions: > > > > > > 1) How do I get all tags for all files? Preferable as list<name, > > > count>. The same is true for other attributes such as mime-types. > > > > This boarders on metadata management, and the search API is not > > optimized for this usage. This will be more natural when we have the > > metadata storage API as well as an Index API (which can provide stats > > about the index). > > > > I see two ways to do this purely within the search API. > > > > I already suggested a GetUniqueValues method which returns count as well > some time ago for this purpose - everyone agreed it was sane but did > this get lost?
As I noted in the bottom of my mail, I added this to http://xesam.org/main/XesamIteration2. I think this method belongs in an Index interface since it requires an index to provide usable performance. Implementors of the Search interface need not have an index. Cheers, Mikkel _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
